簡體   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