Task Reference

PureLoad Logo
PureLoad 6.2
February 2020
https://www.pureload.com
support@pureload.com

Documentation Index

Introduction

The system tasks supplied with the applications enables out of the box testing of the major Internet protocols. The System Tasks group in the Task Types tab of the scenario editor lists all tasks that are supplied. Using the Task Types tab you can see overall (short information) about tasks using the Task Information tab as well as information about the parameters using the Task Parameters tab:

Task Types

The following list shows the system task groups in PureLoad / PureTest:

system tasks

Some task groups are only available in certain product editions. Please refer to the PureLoad web site for details.

System Tasks

The following sections will give an overview of the tasks groups provided with PureTest and PureLoad. For details on parameters, use the tool tip help in the scenario editor (move the mouse to the parameter you want information on and hold it still for a second).

Basic Tasks

This task group includes various useful utility tasks:

Web (HTTP) Tasks

The HTTP tasks are used to test a web application using the HTTP protocol. (The group is labeled newhttp for historical reasons.)
Detailed examples on how to use the HTTP tasks are found in the Testing Web Applications document.

Extract Tasks

Extract tasks operate on textual results from previous tasks. The extracted value is stored in a variable which can be used in subsequent tasks. Most of the HTTP tasks (and many of the other tasks as well) store text data so that it can be extracted from. A good approach is to execute the text producing task in the debugger and analyze the result there.

Read more about how to use Regular Expressions and Xpath in the Extract Reference document.

Asynchronous HTTP Tasks

The Asynchronous HTTP Tasks may be used to simulate browsers sending asynchronous HTTP requests using AJAX (Asynchronous JavaScript and XML) technologies. Examples are long polling and HTTP streaming.

All asynchronous HTTP Tasks that send a request creates an HTTP Exchange that represents the HTTP request and corresponding response. The exchange information is returned as task result by all tasks, including the AsynchHttpGetResponseTask.

The task blocks until the request is sent to a web server. The response must then be checked by using the AsynchHttpGetResponseTask.

A common HTTP client is used internally by all tasks and threads (when used by PureLoad). This means that:

The following Asynchronous HTTP tasks are available:

Database (JDBC) Tasks

The JDBC (Java Database Connectivity) tasks are used to access a relational database. These tasks require a JDBC driver for the database. Please refer to the Oracle JDBC documentation for more details:
https://www.oracle.com/database/technologies/appdev/jdbc.html
The JDBC driver must be placed in the INSTALL_HOME/extensions directory.

Mail Tasks

The mail tasks are used to access mail servers using the IMAP or POP3 protocols and to send mail messages using SMTP protocol.

File Transfer Program (FTP) Tasks

The ftp tasks are used to test FTP servers.

Network Utility Tasks

A collection of network utility tasks for various protocols.

Directory Server (LDAP) Tasks

The LDAP (Lightweight Directory Access Protocol) tasks are used to access directory servers.

LDAP tasks (LDAPAddTask and LDAPModifyTask) use the LDAP Data Interchange Format (LDIF) to represent LDAP entries in text form. Read more about the version of LDIF used.

Telnet Tasks

Telnet tasks are used to access remote hosts using the telnet protocol.

SSH Tasks

Secure shell (SSH) tasks are used to access remote hosts over a secure connection.

IP Pool Tasks

Tasks used to manage a pool of IP-addresses. This is typically use when you want to simulate access from many different client ip-addresses.

Note that the pool tasks only manage a set IP-addresses, per worker, that must already exist on the worker machines.

Read more about using multiple IP addresses in the Simulation Using Multiple IP Addresses document.

IP Socket Tasks

IP socket configuration tasks.

Custom Tasks

Custom tasks are tasks that are designed and implemented specifically for a protocol or application. Custom task may be implemented by a customer or by PureLoad Software Group. See Task Programmers Guide for detailes.

Note: Custom Tasks support is only available in the PureLoad Enterprise Edition.



Copyright © 2020 PureLoad Software Group AB. All rights reserved.