Forum Discussion
nmrao
Champion Level 3
As you pointed rightly, either groovy or java script is supported, but not both.
If you provide more details, then it may help to see if the same can be achieved in groovy itself.
If you provide more details, then it may help to see if the same can be achieved in groovy itself.
ameesh1984
5 years agoContributor
Suppose I need to do the following
1. My pre setup script has some JS code that needs to run and do some initial setup
2. My actual project is Rest based and has some assertions via groovy asserts
Can this be done in one project how would I do this ?
Here is some of the JS code in this postman collection in the pre setup script
https://github.com/liupeirong/cosmosdb-postman-collection
1. My pre setup script has some JS code that needs to run and do some initial setup
2. My actual project is Rest based and has some assertions via groovy asserts
Can this be done in one project how would I do this ?
Here is some of the JS code in this postman collection in the pre setup script
https://github.com/liupeirong/cosmosdb-postman-collection
- ameesh19845 years agoContributorIf I have java code equivalent for the JS pre setup script would that work in groovy test step , then I can leave my project as groovy and add those java pre setup steps in it
- nmrao5 years agoChampion Level 3What does that pre-setup script does?
- ameesh19845 years agoContributor
Attached it
It basically takes postman variables like host , keys etc and does some stripping or modfications to it
It was basically meant for pre setup before the test
I am looking to convert this to groovy so that it will work in my existing soap ui project
Related Content
- 5 years ago
Recent Discussions
- 22 minutes ago
- 15 years ago