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
4 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
- ameesh19844 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
- nmrao4 years agoChampion Level 3What does that pre-setup script does?
- ameesh19844 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
- 4 years agoTommyTester
- 10 months agoMussieG
- 3 years agoMis3
- 5 years agodinojadhav
Recent Discussions
- 41 minutes agoruchisingh