繁体   English   中英

如何传递 karate.prevRequest 和 response 是 arguments 从一个功能文件到另一个功能文件

[英]How to pass karate.prevRequest and response are the arguments from one feature file to another feature file

我想通过 karate.prevRequest 和响应是 arguments 到另一个功能

Background:
* def KLog = Java.type('com.support.KaratePrint')

@SmokeTest
Scenario: Fetch random quote

* print 'My method executed' +KLog.scenarioInfo('Scenario_1', tcDetails.Scenario_1)
Given path '/api/users/'+pageNo.Pageno
When method GET
Then status 200

这里我想通过 KLog,Karate.prevRequest 和 response 是 arguments 到另一个功能

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM