Task Reference

PureLoad Logo
PureTest 5.2
January 2015
http://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  node System Tasks 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 bottom Task Information tab as well as information about the parameters using the Task Parameters tab:

Task Types

The set of system tasks in PureLoad depends on the license being used. If Enterprise Edition is used the following task groups are included:

system tasks
        enterprise

and if Web Edition is used:

web system tasks

The following will give an overview of the task groups provided. 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 for a second).

System Tasks - Basic and Web

The system tasks supplied with PureTest and PureLoad Web enables out of the box testing of web applications as well as various utility tasks.

The following will give an overview of the tasks groups provided with PureTest and PureLoad Web Edition. 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 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.

System Tasks - Enterprise

Note: The Enterprise tasks are only available in the Enterprise Edition of PureLoad.

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. Sun hosts a list of JDBC drivers at http://industry.java.sun.com/products/jdbc/drivers. 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 virtual IP addresses and IP Pool tasks the Virtual IP Address Reference document.

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 Enterprise Edition of PureLoad.



Copyright � 2015 Minq Software AB. All rights reserved.