Commit Graph

41 Commits

Author SHA1 Message Date
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 9e4259f09f
support to run test case with filter (#560)
* feat: support to get go mod version

* support to run test case with filter

* fix unit tests

* fix dockerfile

* add missing console/atest-ui/package.json

* fix the e2e

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-11-11 11:42:53 +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 834a28fc67
feat: support embed file upload (#538) 2024-09-29 15:34:17 +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
shown 96d3b4452c
feat: add testcase debug log (#530)
* feat: add testcase debug log

---------

Signed-off-by: yuluo-yx <yuluo08290126@gmail.com>
2024-09-14 14:00:55 +08:00
Rick 6e0c70e07d
feat: support session scope store (#517)
* chore: stop using the image from docker hub

* feat: support session scope store

* support to set the suggested api cout limit

* add more unit tests

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-07-21 11:16:43 +08:00
Rick b7f05034d1
feat: improve the test case creating process on ui (#515)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-07-16 10:36:12 +08:00
Rick 1d5f54f0b9
fix: the suggested apis query is missing (#514)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-07-15 17:54:47 +08:00
Rick 6495a50f51
feat: support JSON compaitble contentType parse (#496)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-06-21 09:29:46 +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
dshyjtdes8888 1dd9dd449a
refactor: replace the go model from custom to the official (#439) 2024-05-18 20:05:04 +08:00
Rick ea033d94b6
feat: support image registry mock server (#425)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-05-14 12:23:44 +08:00
Rick 6bf626d72d
fix: the status code not match error ignored (#411)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-04-30 15:49:05 +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
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 4322123586
feat: add cookie support for the requesting (#355)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-04-10 08:39:01 +08:00
Rick 70a868587e
feat: provide the query parameter via swagger (#339)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-01-22 11:04:12 +08:00
Rick d6da4ca694
feat: add runner extension and remove trpc (#333)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-01-12 11:29:35 +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 cef376ac40
fix: cannot read the query (#317)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-12-18 10:56:49 +08:00
Rick 0d1d64f8cd
fix: extension agent cannot quit normally in container (#303)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-12-04 12:19:44 +08:00
Rick 19da5cdc32
feat: support to reuse the cookies (#301)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-12-01 17:34:43 +08:00
Rick 2f83deddec
test: add more e2e test cases (#294)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-11-28 17:36:37 +08:00
Rick 8bf774a2c9
feat: add device oauth mode (#287)
* chore: reduce the http client usage

having a central place to get the http client

* feat: add device oauth mode

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-11-26 13:04:21 +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 1241aa81e2
feat: support passing the metadata to gRPC request (#282) 2023-11-20 19:25:47 +08:00
Rick 649b0d8e85
feat: add writeFile function to expr (#277) 2023-11-17 14:13:04 +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 fa31bb1d4f
fix: cannot get correct value when the header consist mutiple values (#234) 2023-10-13 16:13:06 +08:00
Rick 58905fdd8f
fix: should not parse the response body if it is not JSON format (#218) 2023-09-22 13:52:11 +08:00
Rick 94228f65c5
feat: support recording the test results into prometheus (#215) 2023-09-14 13:57:41 +08:00
Rick f22accad65
feat: add an expr function httpReady (#214) 2023-09-12 18:20:02 +08:00
Ink33 18bd198745
feat: support running gRPC test cases (#160) 2023-08-13 21:09:45 +08:00
Rick 493aed2da1
fix: the body fields verify is incorrect with number (#128) 2023-07-14 14:47:00 +08:00
Rick 3040a92501
feat: support providing the suggested body fields (#127) 2023-07-14 09:38:27 +08:00
Rick 8544b31324
feat: support show the response body and header (#113)
* feat: support show the response body and header

* show the count of the headers

* fix the vue type validation

* reduce the cognitive complexity

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2023-07-05 08:44:57 +08:00
Rick d9d7a66b8a
Support maintain testSuite and testCase via UI (#108)
* feat: support to update the test case via ui

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2023-07-01 17:59:07 +08:00
Rick 5a3b1143a3
chore: order the source code about runner (#93) 2023-06-16 14:58:53 +08:00