Commit Graph

84 Commits

Author SHA1 Message Date
Rick accdb0e4ef
feat: add metrics support to mock server (#606)
* feat: add metrics support to mock server

* add unit tests

* fix the unit testing

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2025-02-08 09:28:39 +08:00
Rick c827476bc9
[wip] feat: add http proxy support (#597)
* feat: add http proxy support

* feat: enhance server command to print local IPs on startup

- Added a new function `printLocalIPs` to display available local IP addresses when the server starts.
- Integrated the IP printing functionality into both the mock command and the server command, improving visibility of server accessibility.

This change helps users easily identify the server's available addresses for better connectivity.

* feat: support to set proxy on ui

* update the test suite page

* test pass with the http proxy mode

* update grpc files

* update grpc files

* support insecure during testing

* fix the unit tests

* add more unit testing

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2025-01-20 23:10:08 +08:00
Rick 66f724ae78
fix: the filename is missing when downloading (#566)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-12-06 20:26:06 +08:00
Rick 072cd42c16
feat: support to get headers from binary request (#565)
* feat: support to get headers from binary request

* change base image from ubuntu to alpine

* install bash in alpine

* install openssl in alpine

* fix e2e

* support to download bianry files on ui

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-11-29 09:04:22 +08:00
Rick 0f0298455e
feat: support to generate robot-framework script (#563)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-11-18 19:59:28 +08:00
Rick 33703da27b
feat: support to query verify functions (#561)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-11-12 10:31:31 +08:00
Rick bbaf91f73c
feat: support to config mock server on ui (#552)
* doc: add document of atest extension

* feat: support to config mock server on ui

* add more document

* Fix code scanning alert no. 61: Incorrect conversion between integer types

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Rick <1450685+LinuxSuRen@users.noreply.github.com>

---------

Signed-off-by: Rick <1450685+LinuxSuRen@users.noreply.github.com>
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2024-10-29 21:03:45 +08:00
Rick 7d9a97f46f
feat: support to rename test suite and case (#550)
* feat: support to rename test suite and case

* try to make the e2e be more stable

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-10-25 09:24:36 +08:00
Rick 72c53c21df
feat: support to run test case in batch mode (#548)
* feat: support to run test case in batch mode

* support to the interval on batch mode

* support to use a template as interval

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-10-15 13:47:18 +08:00
Rick 7de67ca381
chore: show server address on the test case page (#545)
* chore(deps): bump rollup from 3.25.1 to 3.29.5 in /console/atest-ui

Bumps [rollup](https://github.com/rollup/rollup) from 3.25.1 to 3.29.5.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v3.25.1...v3.29.5)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

* chore: show server address on the test case page

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-10-09 23:17:58 +08:00
Rick 3a9bde8c06
feat: support to upload random image files (#541)
* feat: support to upload random image files

* support to upload pdf file

* support to generate zip file

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-10-03 17:45:49 +08:00
Rick 3620c5475a
feat: support to import native data (#539)
* feat: support to import native data

* add unit tests

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-09-30 09:10:31 +08:00
Rick 296fd4084f
feat: support to show the body size on page (#536)
increase the body size limit default value to be 5120

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-09-25 13:41:11 +08:00
SamYSF 95adf09eaf
feat: add History api and ui (#524) 2024-09-18 20:41:43 +08:00
Rick 6ce9363d5a
feat: support getting version from extension (#513)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-07-12 22:38:14 +08:00
Rick a8c52fa891
feat: enable refelction of the extension server (#511)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-07-11 14:06:06 +08:00
Rick 896197110f
chore: add more content-type headers (#500)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-06-28 12:21:05 +08:00
Rick ee312cd07f
feat: add test case execution related promethus metrics (#488) 2024-06-16 15:01:16 +08:00
Rick e866727d53
feat: support to run test suite via http (#478)
* feat: support to run test suite via http

* improve the extension download

* download extenion in the e2e

* add extension-registry into the helm values.yaml file

* update helm install in e2e test

* fix the k8s helm chart testing

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-06-10 18:52:33 +08:00
Rick c415efadbe
chore: improve the home dir getting (#474)
* chore: improve the home dir getting

* replace all home dir calls

* upgrade goreleaser

* add missing imports

* fix the socket filepath

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-06-05 11:01:01 +08:00
WT 1735b8f326
fix: python generated code error when without HTTP headers (#465) 2024-06-01 22:09:36 +08:00
Rick 00e53452fc
feat: support to duplicate test suite and case (#455)
* feat: support to duplicate test suite and case

* add e2e testing for the new apis

* fix the e2e testing

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-05-27 09:57:23 +08:00
Rick ce5ad55216
feat: support to return the body string even it is invalid (#453)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-05-24 08:36:18 +08:00
SamYSF 966a635768
feat: support to view testSuite as YAML on web page (#438) 2024-05-17 21:33:47 +08:00
Rick 02026b2199
feat: support to set the prefix of mock server (#402) (#410)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-04-30 14:06:15 +08:00
Haibara Ai 42c4eb259b
fix:Handle gRPC messages larger than max size (#399)
* fix:Handle gRPC messages larger than max size
2024-04-26 16:29:19 +08:00
YuLuo 1943e7d82e
feat: add logging support (#389)
* feat: add logging support

---------

Signed-off-by: yuluo-yx <yuluo08290126@gmail.com>
Signed-off-by: YuLuo <yuluo08290126@gmail.com>
Signed-off-by: Rick <1450685+LinuxSuRen@users.noreply.github.com>
Co-authored-by: Rick <1450685+LinuxSuRen@users.noreply.github.com>
2024-04-22 18:15:46 +08:00
Rick 1c5b72df0b
feat: add graphql feature support (#326)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-12-21 11:15:12 +08:00
Rick a324fb1bbe
fix: memory leak due to the gRPC connect keep (#313)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-12-13 18:47:38 +08:00
Rick 05c338ea35
feat: support to get pprof of an extension (#307)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-12-07 11:06:45 +08:00
Rick 8e34dba43d
feat: support to show the error count as summary in report (#305)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-12-05 13:59:16 +08:00
Rick 91d60fc3bc
chore: provide a non-loader for avoiding nil check (#295)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-11-28 18:09:44 +08:00
Rick 0d9b280487
feat: support to set an owner of a store (#290) 2023-11-26 18:14:38 +08:00
Rick d300c4b047
feat: add auth support for server mode (#283)
* chore: refactory the body verify

* feat: add auth support

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-11-24 11:53:48 +08:00
Rick 10363259ae
ui: reflect the network request related codes (#274)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-11-15 17:50:54 +08:00
Rick ed58358657
feat: support fetch the suggested APIs from a gRPC server (#272)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-11-14 17:10:30 +08:00
Rick af92ea623d
feat: support set a store as readonly (#269) 2023-11-12 07:31:15 +08:00
Rick b8bf7ffcbe
feat: complete the etcd store feature (#266) 2023-11-08 15:30:25 +08:00
Rick 13be826422
feat: support import from common grpc library (#265)
* feat: support import from common grpc library

* chore: support to release atest-store-git

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2023-11-05 20:39:20 +08:00
Rick 7ea16a6642
feat: support to generate grpc payload as JSON (#264) 2023-11-03 14:13:43 +08:00
Rick dd7cd4634e
feat: add trpc protocol support (#254)
* feat: add trpc protocol support

* test pass the trpc on web ui

* add unit tests

* fix the trpc service parsing issue

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2023-10-29 19:45:46 +08:00
Rick fac641fef9
feat: support starting store extentsion automatically (#246) 2023-10-23 15:59:22 +08:00
Rick 06616860bf
fix: render the testSuite before generate code (#243) 2023-10-18 10:25:31 +08:00
Rick 6c57372cb0
fix: remove redundant empty items from slice and map (#242) 2023-10-17 14:00:30 +08:00
Rick 4aa373b767
feat: support receving parameters from API (#226) 2023-10-09 16:12:06 +08:00
Ink33 7e5f93f731
feat: get gRPC descriptor from dp set (#216)
* feat: get gRPC descriptor from dp set

Signed-off-by: Ink33 <Ink33@smlk.org>

---------

Signed-off-by: Ink33 <Ink33@smlk.org>
Co-authored-by: Rick <1450685+LinuxSuRen@users.noreply.github.com>
2023-09-26 09:44:35 +08:00
Rick 9b8cee315e
feat: support integrating with skywalking (#219)
* feat: support integrating with skywalking

* add skywalking browser support
2023-09-26 07:29:10 +08:00
Rick e21e801b19
add some error handling on the UI (#213)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2023-09-11 09:11:44 +08:00
Ink33 acc8b268d7
feat: get gRPC descriptor via server reflection (#210)
Signed-off-by: Ink33 <Ink33@smlk.org>
2023-09-07 06:25:11 +08:00
Rick 80ceae3988
feat: add conditional verify support (#209) 2023-09-06 14:14:45 +08:00