Forum Discussion
Have you copy, pasted the same java program in Groovy Script test step?
Hope all the dependencies copied under bin/ext directory and restarted the tool.
Is java version in the eclipse and SoapUi the same?
Have you checked if there any conflicting libraries ? I.e., Same library different versions between lib and bin/ext?
If java program is working, then can you create a library and call it in test step?
What is the formulae in excel? Does it include special characters such as #$?
Is it possible to test by saving the data into CSV format and use this file to read data and see?
What does it mean, "I am able to achieve this in eclipse"?
I was doing in SoapUI since morning but wasn't getting any moving ahead so tried the same task with eclipse with Maven project and solve this.
Have you copy, pasted the same java program in Groovy Script test step?
Yes i have copy pasted same code
Hope all the dependencies copied under bin/ext directory and restarted the tool.
Yes copied all dependencies into bin/ext folder and restarted the tool.
Is java version in the eclipse and SoapUi the same?
Yes java version is same in both the tools
Have you checked if there any conflicting libraries ? I.e., Same library different versions between lib and bin/ext?
All Libraries are same as i have copied to ext from .m2 repository of Eclipse
If java program is working, then can you create a library and call it in test step?
How to achieve this?
What is the formulae in excel? Does it include special characters such as #$?
it's a simple refer below screenshot.
Is it possible to test by saving the data into CSV format and use this file to read data and see?
No i have very huge data.
Above screenshot is just to test
Screenshot of Eclipse
- nmrao5 years agoChampion Level 3
Thank you for the reply.
Refer below link where it has the details on how to create a library of java code and use it in Groovy script step.
Regarding excel to csv(when saved, there won't be any formulae in the csv data), it is simple. Refer export part of below link
And Reading csv's is simple in Groovy. Refer:
So you have two options.
- HimanshuTayal5 years agoCommunity Hero
I have searched it and found the error is with Jars, will update here once resolve this.
Till then if anyone have any update please let me know. 🙂
- nmrao5 years agoChampion Level 3Didn't get it, " have searched it and found the error is with Jars".
Related Content
- 7 years ago