Test steps are core building blocks of functional tests. You add them to a test case to control the execution flow and validate the functionality of the testing service. Each step performs a simple action: simulates a request, exchanges data, checks responses, and so on.
A test case starts running from the topmost test step and executes test steps in sequence. However, it is possible to create more complex behavior by using conditional branching, loops, and calls of other test cases.
The following test steps are available in ReadyAPI:
|Sends a SOAP request over either HTTP, HTTPS, or JMS and receives the response if any. SOAP Request test steps are tied to the corresponding WSDL operation and its WSDL interface added to a project when importing the corresponding WSDL.
|Sends a REST request over HTTP, HTTPS, or JMS and receives the response if any. REST Request test steps are tied to the corresponding REST Service, Resource, and Method in the containing project.
|Sends an HTTP request over HTTP, HTTPS, or JMS and returns the results.
|Sends GraphQL queries based on GraphQL API.
|Sends GraphQL mutations based on GraphQL API.
|Sends a GraphQL request that is not connected with a GraphQL schema.
|Publishes and consumes messages from a topic on a Kafka broker.
|Sends a database query or stored procedure call to the configured database and returns the result.
|Sends a SOAP or REST request by using Java Message Service.
|Simulates an XML-RPC operation call.
|Working With Properties
|Helps you define an arbitrary number of properties that can optionally be read from or written to a file. These can then be used for parameterization of requests, assertions, and so on.
|Helps you transfer or extract property values between test steps, for example, you can extract a value from a response message and write it to a Data Sink test step for external storage.
|Holds execution while waiting for a property value.
|Allows you to read property values from a variety of external sources (Databases, Excel files, folders, etc.), which can then be used in your tests, for example to populate requests (via a property transfer), validate responses, or serve as an input for nested data sources.
|Allows you to write property-values to a number of external storages (Databases, Excel, etc.) for a later analysis or processing.
|(Deprecated) Allows you to create dynamic properties for creating counters, random property values, and so on.
|Data Source Loop
|Pairs up with the Data Source test step to allow iterations over a sequence of test steps that should be executed for each row of values available in DataSource.
|Checks for specific values in the last received message in the test case and jumps to the target test step.
|Run Test Case
|Transfers execution of a test case to the specified target test case and sets its properties as configured in the test step. Use this to create modular test cases, for example when the same sequence of test steps should be run at the beginning of a number of test cases.
|Pauses the execution of the test case for the specified time.
|Custom scripting with Groovy.
|Supports highly flexible and complex assertions of a property with a valid assertion. Supports grouping and the Boolean logic.
|Web Service Virtualization
|Listens and waits for an HTTP or HTTPS SOAP request and returns the configured response. Used for testing callbacks and asynchronous processes.
|Listens to and waits for an HTTP or HTTPS REST request and returns the configured response. Used for testing callbacks and asynchronous processes.
|Virtual Service Runner
|Runs or stops the specified virtual service.
|Working With AMQP
|AMQP Declare Exchange
|Creates an exchange on an AMQP broker.
|AMQP Declare Queue
|Creates a queue on an AMQP broker.
|AMQP Bind Queue
|Binds a queue to an exchange.
|Sends a message to an exchange.
|Fetches a message from a queue.
|Working With MQTT
|Receive MQTT Message
|Simulates actions of an MQTT client.
|Publish using MQTT
|Simulates actions of an MQTT publisher.
|Drop MQTT Connection
|Simulates a disconnection from an MQTT broker.
|Working With Files
|Waits for the file to appear.
|Creates a file, and, optionally, waits for it to be deleted.
|Uploads a file to the specified FTP server.
|Performs a manual check as part of your automated test run.
|Runs TestComplete tests.
|Sends an email from the test.