You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+41-1Lines changed: 41 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,15 +7,55 @@ This is a API testing tool.
7
7
## Feature
8
8
* Response Body fields equation check
9
9
* Response Body [eval](https://expr.medv.io/)
10
+
* Validate the response body with [JSON schema](https://json-schema.org/)
10
11
* Output reference between TestCase
11
12
* Run in server mode, and provide the gRPC endpoint
12
13
*[VS Code extension](https://github.com/LinuxSuRen/vscode-api-testing) support
13
14
15
+
## Get started
16
+
Install it via [hd](https://github.com/LinuxSuRen/http-downloader) or download from [releases](https://github.com/LinuxSuRen/api-testing/releases):
17
+
```shell
18
+
hd install atest
19
+
```
20
+
21
+
see the following usage:
22
+
```shell
23
+
API testing tool
24
+
25
+
Usage:
26
+
atest [command]
27
+
28
+
Available Commands:
29
+
completion Generate the autocompletion script for the specified shell
30
+
help Help about any command
31
+
json Print the JSON schema of the test suites struct
32
+
run Run the test suite
33
+
sample Generate a sample testcase YAML file
34
+
server Run as a server mode
35
+
36
+
Flags:
37
+
-h, --help helpfor atest
38
+
-v, --version version for atest
39
+
40
+
Use "atest [command] --help"for more information about a command.
41
+
```
42
+
43
+
below is an example of the usage, and you could see the report as well:
44
+
45
+
`atest run -p sample/testsuite-gitlab.yaml --duration 1m --thread 3 --report m`
0 commit comments