brookshi / Hitchhiker

a Restful Api test tool
http://www.hitchhiker-api.com
Other
2.19k stars 402 forks source link

大批量的api对比 #279

Closed dilei closed 4 years ago

dilei commented 5 years ago
  1. 场景: 我需要拿出一天的线上访问日志(一千万条),进行两个环境的请求对比
    
    query url :
    {{host}}{{qs}}

parameters: { "qs": [ "/php-status", "/v2/find_products.php?by=product_id&keys=1348964026&expand=1%7C2%7C3%7C4%7C5%7C13%7C18%7C25%7C6%7C26%7C21%7C31%7C34%7C14%7C35%7C36%7C32%7C37%7C38%7C40&result_format=json&req_from=bd", "/v2/find_products_tags.php?by=product_id&keys=&tpl=1&source=h5&result_format=json&req_from=bd", "/v2/find_spu.php?by=item_id&keys=23786938&expand=3&result_format=json&req_from=bd" .....................(100万) ] }

host 为定义的环境变量


服务就会被卡死

2. 期望
这里能不能采用读文件的方式,顺序发送,不会卡死,也能完成对比
gumutianqi commented 5 years ago

一千万条,干不了这个,Hitchhiker 只是一个类似 Postman 的 API 工具,处理不了大数据的事儿