URN123
12 years agoOccasional Contributor
How to save the Test Case Execution time using groovy
Hi,
I want to save the test case execution time using groovy. My testcase looks something like this:
Here are the steps in my testcase:
DataSource
DataGen
Properties
Groovy Script1
Property Transfer1
REST Request1
Groovy Script2
Property Transfer2
REST Request2
Groovy Script3
Property Transfer3
REST Request3
DataSink
DataSource Loop
I am reading/writing data from/to an excel sheet.
Each row in the excel is a test case. So I want to calculate the time taken to execute the steps for each row?
Soap is printing a time in the logs, but that is the time taken to execute all the rows in the excel.
I want to save the test case execution time using groovy. My testcase looks something like this:
Here are the steps in my testcase:
DataSource
DataGen
Properties
Groovy Script1
Property Transfer1
REST Request1
Groovy Script2
Property Transfer2
REST Request2
Groovy Script3
Property Transfer3
REST Request3
DataSink
DataSource Loop
I am reading/writing data from/to an excel sheet.
Each row in the excel is a test case. So I want to calculate the time taken to execute the steps for each row?
Soap is printing a time in the logs, but that is the time taken to execute all the rows in the excel.