Task Reference

PureLoad Logo
PureLoad 3.5
November 2007
http://www.minq.se
support@minq.se

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 spot help provided in the scenario editor (move you mouse to the parameter you want information on and hold it for a second).

System Tasks

The system tasks supplied with the applications enables out of the box testing of the major Internet protocols as well as various utility tasks.

The following will give an overview of the tasks groups provided. For details on parameters, use the spot help provided in the scenario editor (move you 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.

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.

News (NNTP) Tasks

The news tasks are used to test news servers using the NNTP 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.

LDIF

LDAP tasks (LDAPAddTask and LDAPModifyTask) use the LDAP Data Interchange Format (LDIF) to represent LDAP entries in text form. The version of LDIF used is a slighly simplified version of LDIF, described below.

The basic form of an LDIF entry is:

dn: <distinguished name>
 <attrdesc>: <attrvalue>
 <attrdesc>: <attrvalue>
 ...

The value may be specified as UTF-8 text.

Multiple attribute values are specified on separate lines, e.g.,

cn: Barbara J Jensen
cn: Babs Jensen

Here is an example of an LDIF entry:

dn: uid=pierre
objectClass: organizationalPerson
cn: Pierre Tiptoe
sn: Tiptoe
title: Guru

Modify Format

To specify data to be modified by the LDAPModifyTask the LDIF data consists of one or more records, each one corresponding to a change, addition, or deletion from the LDAP database. The records are separated by a blank line. Each record has the following format.

The record begins with the type of change being made:

changetype: <[modify|add|delete]>

Then, the change information itself is given, the format of which depends on what kind of change was specified above. For a changetype of modify, the format is one or more of the following:

add: <attributetype>
<attributetype>: <value1>
<attributetype>: <value2>
...
-

Or, for a replace modification:

replace: <attributetype>
<attributetype>: <value1>
<attributetype>: <value2>
...
-

Or, for a delete modification:

delete: <attributetype>
-

If no attributetype lines are given, the entire attribute is to be deleted.

For a changetype of add, the format is:

<attributetype1>: <value1>
<attributetype1>: <value2>
...
<attributetypeN>: <value1>
<attributetypeN>: <value2>

For a changetype of delete, no additional information is needed in the record.

Example:

dn: uid=pierre
changetype: modify
add: description
description: A 1337 Pig
-
delete: title
-
replace: cn
cn: Pierrovich Tiptoe

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.

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 Minq Software. See Task Programmers Guide for detailes.


Copyright © 2007 Minq Software AB. All rights reserved.