Steps to reproduce:
In a test case create step Data source > select Groovy script and paste the below script.
Add property as ID
Run the script it works fine
Now Close the data source screen by clicking on cross button
reopen the data source and run the script
you will get the java NullPointerException
I hope it will be fixed by soapui NG team
countryCode = "FR"
decisionCode = "SDE"
charset = (('0'..'9')).join()
randomString = RandomStringUtils.random(8, charset.toCharArray())
result["ID"] = countryCode + decisionCode + randomString
No it it doesn't work, i have the same error.
please suggest something.. i am blocked here.
I will have to close the ReadyAPI to get it work previously but now it is not even displaying the values that are generated
Just red the same on 1.7 maintenance build from
And it worked fine.
I dont know how it worked for you i still have the same problem
i repeat again when we launch the ReadyAPI and run the script it works fine, now close the Data source window and dbclick on left tree to reopen it and run it.
we still have this issue.
please find the attachment for the same.