Giter VIP home page Giter VIP logo

hitchhiker's People

Contributors

brookshi avatar gitbook-bot avatar robin-rpr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hitchhiker's Issues

动态参数输入源的使用场景需求分析

@brookshi

第一个需求场景:

比如登录,我们准备很多帐号ID和密码,一行一个的txt,body里面就是动态的,有两种场景

第一种:单个动态参数,从文件一次取一个, 如果多个动态参数可能需要对应多个txt文件

{
"account": {{getAcount}}
}

第二种情况是整个参数体JSON都是动态从文件读取的一次读取一个

//body 里面就是一个从文件获取的函数
{{loginData}}

对了,有时候需要将返回结果导出,希望可以提供多个请求的send的时候,返回结果读取解析后导出到文件;下次再上传作为动态参数使用

第二个场景:

接口请求返回的结果应该存下来或者下载下来作为其他请求的动态参数使用,比如登录的token就是这种场景,我可以使用一批帐号请求得到一批token,然后将返回结果存下来(可以读取返回结果来组装需要存的结构),并提供一个获取数据的函数;在别的接口里面可以调用这个函数获取动态参数;

{
"token": {{getToken}}
}

现在只能**$variables$**还是太弱了点

实现了上面的两种需求场景,就可以满足所有的接口连续链式调用和压力测试获取参数的问题;

对了,需要解决一个Collection内的接口串行和并行的问题;

很好的值得推广起来的项目,而且看好Go的HTTP/IO性能优势,提了几个建议,望采纳

如果能完美实现动态数据的问题,我觉得能接受付费购买授权,能解决很多中小企业自动化测试的问题;

最新代码编译出错

@brookshi 试试 在一台纯新机器上编译看看.
我这里报 DotHeader[] 和 DotHeader[]|null (可能为空)类型不匹配.
ts --version 2.5.3

How to accessing variables of environment

Create some variables and save them to environment set, in PostMan, we can use format {{variable_name}} to access specified variable in request (url, body in json, etc.), how I can access the variable of environment in Hicchiker?

I found Postman pattern doesn't work in Hichhiker.
please advise.

linux部署

请问下Linux上部署成功是什么样子的呢?
image
我卡在这一步就执行不下去了。

image

Payload Too Large

更新0.4版本以后,更改schedule的Period为分钟,然后再修改为天,就出现了以下报错:

Warning Message
save schedule failed, Error: Payload Too Large, Retry 5th time after 32000s

是否支持生成请求的签名

为了接口安全,有些接口协议会定义签名。
比如使用接口请求参数的 md5 作为签名,然后将签名放在 HTTP Header 中。

请问现在是否可以支持呢?

请求URL编码问题

好像如果URL中,有中文的话,编码会乱

Hitchhiker 中 url:

image

服务器收到的url为:

image

schedules 没有运行

按照要求设置了shedules,但是没有任何地方显示按照预订时间执行了

建议作者检查可编译性

编译都过不了.
问题1: Cannot find namespace '_'. (loadsh全局导入了,但是没有配置)
问题2: XXXXX is declared but never used. (肯定是你的本地配置和git上的配置不一样)

很多前端开发都无视npm生态的不稳定性. 不考虑提交的代码重新npm install 还能不能运行(全新安装)
作者也属于其中一员

导入postman用例抛异常

[2017-09-29 15:16:55.292] [ERROR] console -   Error: ER_TRUNCATED_WRONG_VALUE_FOR_FIELD: Incorrect string value: '\xE6\xB5\x8B\xE8\xAF\x95...' for column 'body' at row 1
      at Query.Sequence._packetToError (/ssd/mynode/Hitchhiker/node_modules/mysql/lib/protocol/sequences/Sequence.js:52:14)
      at Query.ErrorPacket (/ssd/mynode/Hitchhiker/node_modules/mysql/lib/protocol/sequences/Query.js:77:18)
      at Protocol._parsePacket (/ssd/mynode/Hitchhiker/node_modules/mysql/lib/protocol/Protocol.js:280:23)
      at Parser.write (/ssd/mynode/Hitchhiker/node_modules/mysql/lib/protocol/Parser.js:75:12)
      at Protocol.write (/ssd/mynode/Hitchhiker/node_modules/mysql/lib/protocol/Protocol.js:39:16)
      at Socket.<anonymous> (/ssd/mynode/Hitchhiker/node_modules/mysql/lib/Connection.js:103:28)
      at emitOne (events.js:96:13)
      at Socket.emit (events.js:191:7)
      at readableAddChunk (_stream_readable.js:178:18)
      at Socket.Readable.push (_stream_readable.js:136:10)
      at TCP.onread (net.js:561:20)
      --------------------


      at Protocol._enqueue (/ssd/mynode/Hitchhiker/node_modules/mysql/lib/protocol/Protocol.js:141:48)
      at PoolConnection.query (/ssd/mynode/Hitchhiker/node_modules/mysql/lib/Connection.js:208:25)
      at MysqlQueryRunner.<anonymous> (/ssd/mynode/Hitchhiker/node_modules/typeorm/driver/mysql/MysqlQueryRunner.js:180:44)
      at step (/ssd/mynode/Hitchhiker/node_modules/typeorm/driver/mysql/MysqlQueryRunner.js:32:23)
      at Object.next (/ssd/mynode/Hitchhiker/node_modules/typeorm/driver/mysql/MysqlQueryRunner.js:13:53)
      at fulfilled (/ssd/mynode/Hitchhiker/node_modules/typeorm/driver/mysql/MysqlQueryRunner.js:4:58)
      at process._tickCallback (internal/process/next_tick.js:109:7)
[2017-09-29 15:16:55.292] [ERROR] console - 

用户系统支持LDAP协议

一个关于用户帐号feture的建议:

对于这类企业内部使用使用系统,最好的用户帐号管理就是支持LDAP协议, 公司内部帐号都是互通的,完美解决帐号管理和注册的问题;

如果我想用nginx进行代理,该怎么设置呢?

昨天尝试用nginx代理hitchhiker,发现没代理成功

server {
    listen 80 default_server;
    server_name $hostname;
    access_log  off; 
    location /static/ {
        root /etc/hitchhiker;
        expires max;
    }
    location / {
        proxy_pass http://127.0.0.1:8080;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-for $proxy_add_x_forwarded_for;
        proxy_set_header Host $host:$server_port;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_connect_timeout 600;
        proxy_read_timeout 600;
        proxy_send_timeout 600;
        client_max_body_size 1024M;
    }
}

哪位大神能指教下

报错“TypeError: Failed to fetch”

hi,还是我,
环境mac,本地部署,
我现在遇到了另外一个问题,注册的时候报错“TypeError: Failed to fetch”,截图如下所示:

Invite member to project doesn't work

Hitchhiker version: Docker v0.1.3
I am facing the problem that invite member (registered) to project doesn't work, nothing happen, so the project just owner now.

创建project之后可以直接拉人

RT
另外单独提一个点..能不能用户A创建了一个项目之后能主动把用户B打到自己的这个项目来,现在只能发邮件对mail系统和流程都有要求(没外网)

Edit environment set at Collections page will jump to Project page

Hitchhiker version: Docker v0.1.3.

  1. Environment set existed.
  2. Stay at Collections page.
  3. Select a valid Environment set.
  4. Click the edit button icon of Environment set

Actual:
Page will switch to Projects page

Expects:
If edit environment set from Collections page, no page switching I think it is better UX.

Please advise.

中文不友好

1、新建collection包含中文时,导致不能同步报错

2、如果body有中文,是否支持

如何添加表单数据?

Postman中提供了form-datax-www-form-urlencodedrawbinary四种body类型,Hitchhiker中该如何设置表单呢?
image

本地布署,其它电脑通过ip:port无法登入

Hitchhiker通过docker布署在内部网络某个电脑上(hitchhiker版本为v0.1.3),端口为1234,其它电脑通过http://ip:1234可以打开hitchhiker,但无法登入帐号,提示如下。
本电脑布署,本电脑登入没有问题。

image

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.