Skip to content

Commit

Permalink
docs : update
Browse files Browse the repository at this point in the history
  • Loading branch information
pojol committed Jun 22, 2023
1 parent e310ecb commit e025f33
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 3 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Gobot is a powerful stateful API testing robot. It provides a graphical interfac
1. Download the specified version of the editor and driver on the release page.
2. Execute the driver end in memory mode on the command line `./gobot-driver-win32-v0.3.x.exe --no_database --mock`
3. Start gobot_editor_win_x64_v0.3.x and fill in the driver address http://127.0.0.1:8888
4. If using for the first time, you can find sample robots in the /demos directory and load them on the bots page.
4. If using for the first time, you can find sample robots in the /sample directory and load them on the bots page.


## Feature
Expand Down Expand Up @@ -51,6 +51,11 @@ function execute()
-- Here, users can define the execution logic of nodes themselves (for example, sending an HTTP request)
res, err = http.post("url", req)

-- todo

-- state - State code
-- res - Information displayed in the Response panel
return state.Succ, res
end
```

Expand Down
10 changes: 8 additions & 2 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Gobot是一个功能强大的有状态API测试机器人。它提供图形界面
1. 在 release 页面下载指定版本的 编辑端(editor 以及 驱动端(driver
2. 在命令行以内存模式执行驱动端 `./gobot-driver-win32-v0.3.x.exe --no_database --mock`
3. 启动 gobot_editor_win_x64_v0.3.x ,并将 driver 地址填入 http://127.0.0.1:8888
4. 如果是初次使用,可以在 /demos 目录中找到示例机器人,在bots页面中载入使用
4. 如果是初次使用,可以在 /sample 目录中找到示例机器人,在bots页面中载入使用

## 特性
* 使用`行为树`控制机器人的运行逻辑,使用`脚本`控制节点的具体行为(比如发起一次http请求
Expand Down Expand Up @@ -44,7 +44,13 @@ function execute()

-- 用户可以在这里自行定义节点的执行逻辑(例如发送一次http请求
res, err = http.post("url", req)


-- todo

-- 返回值
-- state 状态码
-- res 显示在 Response 面板的信息
return state.Succ, res
end
```

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit e025f33

Please sign in to comment.