2 Star 19 Fork 1

pojol / gobot

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
Clone or Download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

gobot

Gobot is a stateful api testing tool that supports graph editing, api calling, and binding script execution.

CI

中文

What is the goal of the tool ?

  1. With a complete life cycle, we can retain and use various state information on different nodes (tests for different purposes can be customized by processing the context
  2. No need to write control code logic, only need to do logic arrangement and write node scripts (you can use prefab templates
  3. Through the API provided by the driver, we can use the test robot in the ci/cd pipeline

Feature

  • Use behavior tree + script to control the execution logic of the robot
  • Support interface editing and debugging
  • Manage and find bots in your warehouse with tag + filter
  • Can perform stress tests (concurrent driving robots
  • The driver provides api calls
  • Provides a report viewing page (api statistics called by the robot

Try it out

Try the editor out on website

Preview

botgif1.gif

Http request sample

-- lua script
local http = require("http")

reqTable = {
    body = {},       -- post body
    timeout = "10s", -- http timeout
    headers = {},    -- http headers
}

-- .post .put .get
res, err = http.post("url", reqTable)

--[[
    res                 -- userdata
    res["body"]         -- http response body
    res["body_size"]    -- body size
    res["headers"]      -- http headers
    res["cookies"]      -- http cookies
    res["status_code"]  -- http status code
    res["url"]          -- request url

    err                 -- error message
]]--

Script Module

base64 http protobuf utils mongoDB json

Report

image.png

Repository Comments ( 0 )

Sign in to post a comment

About

Cancel

Releases

No release

gobot

Contributors

All

Activities

Load More
can not load any more
Go
1
https://gitee.com/pojol/gobot.git
git@gitee.com:pojol/gobot.git
pojol
gobot
gobot
develop

Search