Access Operations and Resources

You can use Groovy scripts to work with various entities on all available project levels.

This topic describes how to use a Groovy script to access SOAP operations and REST resources in APIs. This can be useful when you want to change their properties or content.

Where to use

There are several ways to run this script:

Example

The following code demonstrates how to access the login rq SOAP operation in the sample SOAP project and change the username and password.

See Also

Publication date: