Giter Club home page Giter Club logo

game_robot's Introduction

机器人自动化测试系统 连接到服务后,可以自动收发消息,测试服务器性能

配置说明 robot_config.json "login_ip" : "127.0.0.1", //login ip "login_port" : 7502, //login port "gate_ip" : "127.0.0.1", //gate ip "gate_port" : 7507, //gate port "robot_count" : 1, //登录的机器人总数 "login_interval" : 200, //登录间隔,单位是毫秒 "send_msg_interval" : 2000, //发送消息间隔,单位是毫秒 "robot_lifetime" : 120, //机器人生命周期,单位是秒 "robot_mode" : 0 //机器人模式,0是自动化模式,1是交互模式

robot_msg.json 该文件配置的是当机器人连接到服务器后,自动发的消息 //msg_param:该字段是一个数组,按照变量定义顺序赋值,第一个元素是类型,第二个元素是值,没有参数时候数组为空 //类型说明:0(int8_t) 1(int16_t) 2(int32_t) 3(int64_t) 4(bool) 5(double) 6(string) { "msg_id" : 120003, "msg_param" : [] }

game_robot's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.