Commit Graph

129 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 4b42dadc50 fix the conflicts 2025-03-27 08:34:38 +00:00
rick c4eca6cbc1 feat: add iotdb support 2025-03-26 11:45:03 +00:00
rick 41c9b16681 feat: add more data as lables for the data query 2025-03-19 03:10:03 +00:00
rick 8a1e72f23d
feat: enhance DataManager to display query duration and result count 2025-03-11 08:29:47 +08:00
rick dd08c128ca feat: support to show sql query duration 2025-03-10 09:30:28 +00:00
Rick 11ab39f11f
support to load swaggers from an extension (#639)
* feat: support to download differnt kinds of ext

* support to load swaggers from an extension

* docs(extension): add swagger data extension and update documentation

- Add swagger data extension to the extensions list
- Update documentation to include new extension usage

* Potential fix for code scanning alert no. 69: Arbitrary file access during archive extraction ("Zip Slip")

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>
2025-03-06 23:17:57 +08: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 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 7fe64b67cb
feat: add a template func to read local file (#582)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-12-14 22:13:13 +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 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 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 fe9d168713
feat: support to print the progress when oci download (#544)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-10-05 15:41:12 +08:00
Rick af36027460
refactor: create components of the atest ui (#520) 2024-10-03 22:41:53 +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 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
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
SamYSF 4aadd0611c
feat: add download extension store image prefix (#532) 2024-09-14 19:54:58 +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 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 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 b7926da2c0
feat: custom the grpc gateway restful path (#497) 2024-07-01 08:02:07 +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 dabb95542d
feat: add http requests metrics (#495)
* feat: add http requests metrics

* add more error log

* move the api-testing-scema.json

* copy api-testing-schema.json during the docs build process

* do not ignore helm directory

---------

Co-authored-by: rick <LinuxSuRen@users.noreply.github.com>
2024-06-19 14:43:33 +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
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
WT 1735b8f326
fix: python generated code error when without HTTP headers (#465) 2024-06-01 22:09:36 +08:00
Rick a11b7ff550
fix: not work when grpc port is a random one (#467)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-05-31 13:40:57 +08:00
Rick 1a720c03f8
fix: avoid exit the main process when plugin start failed (#463)
Co-authored-by: rick <linuxsuren@users.noreply.github.com>
2024-05-29 09:43:28 +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 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