brookshi / Hitchhiker

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

脚本执行顺序 #299

Closed y1376001532 closed 4 years ago

y1376001532 commented 4 years ago

1. What went wrong (哪里出错)? 根据文档我理解为应该是先执行Pre Request Script

2. Steps to reproduce the problem (重现步骤): 但是根据实践,我发现脚本的执行顺序是 Global Function->Common Pre Request Script->Pre Request Script->Global Function 并且最后一次执行Global Function是在end request之后

3. What is the expected behavior (期望表现)? Pre Request Script->Common Pre Request Script->Global Function, 在start request之前执行

4. Did this work before (之前是否正常)? [Yes, No, N/A] [是,否,之前没用过]

5. Environment (环境):

6. Additional Information (e.g. Screenshots, Links) (补充信息,截图,链接等) image image image image