cancel
Showing results for 
Search instead for 
Did you mean: 

The Purpose of Groovy Script

SOLVED
Highlighted
New Contributor

The Purpose of Groovy Script

First of all, apologies for the rookie question. However, after reading countless posts to familiarise myself with the program, I'm left with a lingering question: Is Groovy Script used to create test cases or simply automate existing ones (those created manually using the GUI)?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Hero

Re: The Purpose of Groovy Script

@kbcoster,
Doesn't matter if it is groovy or some other language.

Hope you might know why any software programme is used, which helps to either minimize or no manual intervention of any process flow.

When it comes to SoapUI tool, there can be certain places where some data needs to be extracted from some test step response or insert some data as input to a test step request automatically in order to smoothly execute the test without any human intervention. That's when a programming language or scripting is needed. And this tool supports Groovy which is dynamic jvm language apart from Java scripting.

Does it help?



Regards,
Rao.

View solution in original post

2 REPLIES 2
Highlighted
Community Hero

Re: The Purpose of Groovy Script

@kbcoster,
Doesn't matter if it is groovy or some other language.

Hope you might know why any software programme is used, which helps to either minimize or no manual intervention of any process flow.

When it comes to SoapUI tool, there can be certain places where some data needs to be extracted from some test step response or insert some data as input to a test step request automatically in order to smoothly execute the test without any human intervention. That's when a programming language or scripting is needed. And this tool supports Groovy which is dynamic jvm language apart from Java scripting.

Does it help?



Regards,
Rao.

View solution in original post

Highlighted
New Contributor

Re: The Purpose of Groovy Script

@nmrao , thank you for the clarification.

New Here?
Join us and watch the welcome video:
Announcements
Script Wanted
Let's start July with new challenges!

Create a script to change request body before sending it to the server for the TechCorner tag!


Scripts created in June:
- A script to generate a request body based on data from Datasource
- A script to go through all response nodes and check the value of the required field
- A Dispatching script to get responses based on the values in Request Body
- A script to add a new tag and assign it to all TestCases in a TestSuite
Top Kudoed Authors