Return_status Function

Description:

The Return_status function returns an integer value which indicates if a request succeeded of failed.

Format:

HTTP GET HOST Hostname URL url iStatus = return_status();

Parameters:

iStatus

An integer variable into which the request status is loaded.

 0: Succeed
-1: Socket Error
-2: Generic Error

Example:

INTEGER iStatus;

HTTP GET HOST "demo.fmstocks.com" URL "/fmstocks/home.asp" iStatus = return_status();

See also:





Go back to the Learning center:


Copyright © AgileLoad. All rights reserved.
Agile Load testing tool| Contact AgileLoad | Terms of Use | Sitemap