Forum Discussion
ArunaBhukya
New Contributor
I have to implement the same thing. I would like increase the number instead of taking the value from response. How to achieve it.
Ex: Dump File loaction is "c:/user/filename1" in next testcase file name should be filename2.
Please help me with this.
nmrao
6 years agoChampion Level 3
Dump file may not solve problem being described.
You can create script to save the file the way you wanted to.
In the below script, use "saveToFile" method can help you. Create a file object and file content and pass them to that method. Use script assertion to the request step.
https://github.com/nmrao/soapUIGroovyScripts/blob/85e6112abadb014cdb2d12ed3fb289cb2eea90af/groovy/SplitTestReport.groovy
You can create script to save the file the way you wanted to.
In the below script, use "saveToFile" method can help you. Create a file object and file content and pass them to that method. Use script assertion to the request step.
https://github.com/nmrao/soapUIGroovyScripts/blob/85e6112abadb014cdb2d12ed3fb289cb2eea90af/groovy/SplitTestReport.groovy
Related Content
- 10 years ago
Recent Discussions
- 29 minutes ago
- 16 days ago