Commit Graph

58 Commits

Author SHA1 Message Date
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
Rick 0cc0bb8be1
feat: support to download extensions automatically (#471)
* feat: add the extension sub-commad to download it

* do not put store-ext in the main image

* support to fetch the latest image tag

* finish the basic feature of extension downloading

* add some unit tests

* support different image registry

* add more unit tests

* remove useless files

* fix the unit test case

* simplify the apt install in the dockerfile

* add explanation for the empty methods

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-06-04 10:30:38 +08:00
dshyjtdes8888 1dd9dd449a
refactor: replace the go model from custom to the official (#439) 2024-05-18 20:05:04 +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 eb1973a486
fix: golang.org/x/net bugs CVE-2023-45288 (#401)
Signed-off-by: yuluo-yx <yuluo08290126@gmail.com>
2024-04-25 21:09:21 +08:00
Rick f4f1d4c312
feat: support combine mock and core server together (#390)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-04-22 21:29:52 +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 062f96f965
feat: support detailed mock server (#377)
* feat: support detailed mock server

* make the constant be private

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-04-21 17:49:44 +08:00
Rick e53a8c5892
feat: add a simple mock server (#368)
* feat: add a simple mock server

* support to render the initial data as template

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-04-19 13:34:25 +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 cc9beaf559
chore: split extensions into seperate repositories (#331)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-12-28 14:59:09 +08:00
Rick 4eab371064
chore: move the system serivce into linuxsuren/go-service (#328)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-12-25 14:49:53 +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 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 b3c0a9a2ba
feat: support to print api coverage in markdown report (#304)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-12-04 20:07:18 +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 d6fde9f38b
fix: the extension might not quit normally (#302)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-12-02 19:16:33 +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 916ce85d53
feat: add a new extension: mongodb (#278)
* feat: support to jump to a specific version address

* feat: add a new extension: mongodb

* disable the git e2e test due to unstable

* fix the code style isseus

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2023-11-18 13:58:34 +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 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 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 2a4ce17869
feat: add SkyWalking support in the Helm chart (#248) 2023-10-25 15:15:19 +08:00
Rick fa31bb1d4f
fix: cannot get correct value when the header consist mutiple values (#234) 2023-10-13 16:13:06 +08:00
dependabot[bot] 36429f9a6f
chore(deps): bump golang.org/x/net from 0.10.0 to 0.17.0 (#227)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.10.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.10.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-13 10:10:14 +08:00
Rick 8b1cd29b10
chore: add http statusCode 422 to the UI locale (#225)
* chore: add http statusCode 422 to the UI locale
2023-10-09 11:40:54 +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 8483fbbeaf
add more prometheus metrics (#217) 2023-09-15 21:09:24 +08:00
Rick 94228f65c5
feat: support recording the test results into prometheus (#215) 2023-09-14 13:57:41 +08:00
Rick 80ceae3988
feat: add conditional verify support (#209) 2023-09-06 14:14:45 +08:00
Rick 908829738a
feat: support convert testSuite to JMeter file (#170)
* feat: support convert testSuite to JMeter file

* chore: report API test in the comment

* add a sub-command to convert to jmeter file

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2023-08-18 15:51:53 +08:00
Rick e0811185a2
feat: add git as the store extension (#165)
* feat: add git as the store extension

* fix: the height of center zone of the UI

* ui: add query setting for testcase

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2023-08-15 10:18:08 +08:00
Ink33 18bd198745
feat: support running gRPC test cases (#160) 2023-08-13 21:09:45 +08:00
Vector7 79609ce4fb
feat: support to generate a PDF report #162 2023-08-10 18:35:45 +08:00
Ink33 710c3728b8
feat: add bidirectional streaming rpc of functions query (#150)
* feat: add bidirectional streaming rpc of functions query

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

* refactor: replace atomic.Uint64 with atomic.AddUint32

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

---------

Signed-off-by: Ink33 <Ink33@smlk.org>
2023-07-31 14:03:53 +08:00
Rick 8d459a9eed
feat: support add multiple stores (#147) 2023-07-29 22:14:58 +08:00
Rick 082b8f9710
feat: support printing the output in real-time (#145) 2023-07-27 21:41:09 +08:00
Rick 800d310db2
feat: support query template functions on UI (#131) 2023-07-17 21:18:24 +08:00
Rick 3040a92501
feat: support providing the suggested body fields (#127) 2023-07-14 09:38:27 +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 02d7e23cb3
feat: add ui for the api-testing (#102)
* feat: add ui project for the atest

* add grpc gateway support

* complete the very basic ui of atest

* add local storage flag into the server sub-command

* add unit tests for the remote server

* put the console into the docker image

* remove unused files from console

* add more unit tests

* support to execute test case on ui

* fix the code smells located by sonarqube

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2023-06-26 08:47:24 +08:00
Rick 09b58601c6
feat: support to reference in the request body (#79)
* feat: support to reference in the request body

* add more test cases of answer platform

---------

Co-authored-by: Rick <linuxsuren@users.noreply.github.com>
2023-05-30 21:44:22 +08:00
Rick efd0a1da1e
fix: the data parent directory is missing (#70) 2023-05-24 19:31:24 +08:00
Rick 5af79c7d26
fix: the service status output is missing (#58) 2023-04-27 09:11:06 +08:00
Rick 45a4d5166a
feat: support to validate the YAML file via schema (#49) 2023-04-21 22:29:24 +08:00
Rick e08c2046d5
feat: add a service commnd (#39)
* feat: add a service commnd

The following command will install atest as a Linux service. `atest service --action install`.

Set the default service port to be 7070 to avoid confliction

* add unit tests

* add more unit tests
2023-04-14 09:32:24 +08:00
Rick 9ee38ffc17
feat: support to validate the response via JSON schema (#38) 2023-04-12 13:31:52 +08:00
Rick a941923526
feat: support to set the log level (#33) 2023-04-08 18:27:21 +08:00
Rick a55b86b51e
feat: support to print the JSON schema of the TestSuite struct (#31) 2023-04-06 17:40:38 +08:00