Commit Graph

58 Commits

Author SHA1 Message Date
Rick 4a26a8c711
feat: support to query next page in elastic (#663)
* feat: support to query next page in elastic

* fix the typescript syntax error

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2025-04-12 20:31:07 +08:00
rick 41c9b16681 feat: add more data as lables for the data query 2025-03-19 03:10:03 +00:00
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 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 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
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
SamYSF 71e1aafb1b
fix: support view history only in orm store for now (#534) 2024-09-20 23:40:44 +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 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 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 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 af92ea623d
feat: support set a store as readonly (#269) 2023-11-12 07:31:15 +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 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
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
Rick 9efccb1430
feat: support to start plugin in the server sub-cmd (#195)
* feat: support to start plugin in the server sub-cmd

* add pull flag into the service sub-cmd
2023-08-31 09:53:19 +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 46552d1c15
feat: support verify the store (#157) 2023-08-03 17:06: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 e0e954702c
feat: add parameters in the test suite (#139) 2023-07-24 13:59:33 +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