Forum Discussion
omatzura
17 years agoSuper Contributor
Hi!
you can get the entire response via the "Response" property; try something like this in your groovy-script:
// get response from Request 1 Test step
def response = context.expand( '${Request 1#Response}' )
// save to database
...
Alternatively you can use the new DataSink teststep; specify a property in the DataSink editor and set its value to the above property-expansion, configure the JDBC DataSink, and off you go!
Hope this helps,
regards,
/Ole
eviware.com
you can get the entire response via the "Response" property; try something like this in your groovy-script:
// get response from Request 1 Test step
def response = context.expand( '${Request 1#Response}' )
// save to database
...
Alternatively you can use the new DataSink teststep; specify a property in the DataSink editor and set its value to the above property-expansion, configure the JDBC DataSink, and off you go!
Hope this helps,
regards,
/Ole
eviware.com
Related Content
- 7 years agoHappyRandom
- 6 years agopankajmalinda