Commit Graph

39 Commits

Author SHA1 Message Date
rick dd08c128ca feat: support to show sql query duration 2025-03-10 09:30:28 +00:00
Rick 1372e6d21d
feat: support to show databases and tables on ui (#631)
* feat: support to show databases and tables

* support to show database and tables

* support to show databases and tables

* feat: add urlEncode and urlDecode functions to template rendering

* fix: update copyright year and add password placeholder handling in store update

* feat(DataManager): add support for multiple databases

- Add currentDatabase parameter to DataQuery function
- Update API request to include X-Database header
- Modify query object for atest-store-orm to include database key

* feat(console): enhance database manager functionality and layout

- Add queryDataFromTable and queryTables functions
- Implement database and table selection
- Adjust layout for better usability
- Optimize SQL query execution

* fix the scrollbar issues on the data manager page

* add etcd and orm compitable

* add redis key-value query support

* support to let user to choose store param from list

* update readme file

* fix the frontend unit test issues

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2025-03-02 16:38:13 +08:00
Rick cc5a463b4d
add mysql/etcd query support (#624)
* feat: add data query service

---------

Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2025-02-23 20:17:33 +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 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 dcdac9e032
fix: the grpc connect is incorrect (#546)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-10-10 16:29:42 +08:00
SamYSF 95adf09eaf
feat: add History api and ui (#524) 2024-09-18 20:41:43 +08:00
Rick 62383ba78b
feat: support local sercret service (#516)
Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-07-19 13:43:18 +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 b7926da2c0
feat: custom the grpc gateway restful path (#497) 2024-07-01 08:02:07 +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 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
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
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 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 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 af92ea623d
feat: support set a store as readonly (#269) 2023-11-12 07:31:15 +08:00
Rick 4aa373b767
feat: support receving parameters from API (#226) 2023-10-09 16:12:06 +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 98a8d5d7d7
feat: support importing from Postman (#179)
* feat: support importing from Postman

* add ui validation

* fix the nested situation
2023-08-23 16:32:08 +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 e2f2d323f0
feat: add secret service interface (#164) 2023-08-12 08:02:59 +08:00
Rick e05262aae9
feat: support manager store on UI (#161) 2023-08-09 15:53:38 +08:00
Rick a799208a0c
feat: support generate code from TestCase (#154) 2023-08-01 17:19:13 +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 800d310db2
feat: support query template functions on UI (#131) 2023-07-17 21:18:24 +08:00
Rick fa024321a1
feat: support getting suggested APIs from spec (#123) 2023-07-16 21:10:03 +08:00
Rick 581b6527ae
feat: support query the popular HTTP headers on UI (#122) 2023-07-11 21:12:23 +08:00
Rick 2c73c02385
feat: add gRPC loader for reading and writeing test suites (#120)
* feat: add gRPC loader for reading and writeing test suites

* complete the basic feature of gRPC plugin demo

* docs: add document about the gRPC extension
2023-07-10 17:03:55 +08:00
Rick 8da83f3b69
feat: support update and delete testsuite on UI (#119) 2023-07-07 20:28:24 +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 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 768098757f
feat: support to generate sample YAML via grpc (#76) 2023-05-30 13:48:41 +08:00
Rick 82f2fdf849
feat: support to run a specific test case via grpc (#28)
Co-authored-by: Rick <linuxsuren@users.noreply.github.com>
2023-04-05 18:59:08 +08:00
Rick e2340a20a8
feat: add grpc server support (#22)
* feat: add grpc server support

* publish image

---------

Co-authored-by: Rick <linuxsuren@users.noreply.github.com>
2023-04-04 13:18:51 +08:00