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
A cloud native HTTP API test and performance test service
2
+
Cloud Native API Testing and Performance Testing Script Language
3
3
4
-
[core](https://github.com/basjoofan/core) Command line tool for executing test scripts (preview version available)
4
+
Basjoofan is a scripting language specifically designed for modern API testing and performance testing. It provides a concise and intuitive syntax that enables developers and test engineers to quickly write and execute interface test cases. The project adopts a cloud-native architecture, supporting the entire testing workflow from local development to cloud deployment.
5
5
6
-
[vscode](https://github.com/basjoofan/vscode) SCode extension for developing test scripts (preview version available)
7
-
8
-
[flow](https://github.com/basjoofan/flow) Web service for manually or automatically executing test scripts in cloud resources (under development)
6
+
## ✨ Features
7
+
* Natural language-like test script writing
8
+
* Built-in HTTP request support without complex configuration
9
+
* Intuitive assertion syntax
10
+
* Containerized deployment for easy scaling
9
11
12
+
## 🚀 Start
10
13
Let's start with a simple GET request:
11
14
```
12
-
let host = "httpbingo.org";
15
+
let host = "httpbin.org";
13
16
14
17
rq get`
15
18
GET https://{host}/get
16
-
Host: {host}
17
-
Connection: close
18
19
`[status == 200]
19
20
```
20
-
Using the rq keyword to define a request named get and assert that the response status code equals 200.
21
+
Using the rq keyword to define a request named get and assert response status code equals 200.
21
22
```
22
23
test get {
23
24
let response = get->;
@@ -31,3 +32,12 @@ You can use the CLI tool with basjoofan test get to execute this test case. You
31
32
For VSCode users: test script files need to end with .fan extension. Once automatically recognized, executable test blocks will have a run button added. Click the run button to execute the test case.
32
33
33
34
Interested folks are welcome to try it out! I'd really appreciate any feedback you might have. Thanks!
35
+
36
+
37
+
## 📄 License
38
+
MIT and Apache 2.0, allowing free use, modification, and distribution.
39
+
40
+
## 🚧 Plans
41
+
*[flow](https://github.com/basjoofan/flow) Web service for manually or automatically executing test scripts in cloud resources (under development)
42
+
*[vsc](https://github.com/basjoofan/vsc) VSCode extension for developing test scripts (preview version available)
43
+
*[zed](https://github.com/basjoofan/zed) Zed extension for developing test scripts (not started)
0 commit comments