Highlighted
Frequent Contributor.
Frequent Contributor.
201 views

how to get HTTPStatusCode SOAP API TEST?

Hello,

I'm looking for the variable that allows me to have the HTTP code received (in the report, we see it in HTTPStatusCode)

can you help me?

 

Labels (1)
Tags (1)
6 Replies
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: how to get HTTPStatusCode SOAP API TEST?

Hello,

If you use the HTTP Request activity, the status code is one of the checkpoints. So, even if couldn't select the status code checkpoint, UFT also get the Status code.

You can add Http Request activity -> Select Input/Checkpoints tab in Properties pane -> Check the checkpoints pane.

Thanks,

Mango

0 Likes
Highlighted
Frequent Contributor.
Frequent Contributor.

Re: how to get HTTPStatusCode SOAP API TEST?

hello,

I know that it http request activity we have the status code but I am on a SOAP request and the status code is not in the checkpoints, I'm just looking for the class and variable that allows me to recover this status code.

how does uft display the httpstatuscode data in the report (see PJ)?

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: how to get HTTPStatusCode SOAP API TEST?

Could you clarify what you would like to do by retrieving the status code? Is it something that our built-in checkpoint cannot achieve?

Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: how to get HTTPStatusCode SOAP API TEST?

Could you found the status code from report? Or you want to set the status code in checkpoint pane?

0 Likes
Highlighted
Frequent Contributor.
Frequent Contributor.

Re: how to get HTTPStatusCode SOAP API TEST?

I would like to make a checkpoint on the status of http code with SOAP Request Activity.

For SOAP request, there is not status code http in the checkpoint.

how to recover the code then check it on a soap request? What event can I get it from? with which variable / member or function?

 

Sorry for my bad english, i m french 🙂

 

0 Likes
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: how to get HTTPStatusCode SOAP API TEST?

Hi,

Checkpoint in Soap Request activity is defined by users. Users could load xml to Checkpoint and the content is related to the soap service.

So, HttpStatusCode isn't the checkpoint in UFT now.

 

Thanks,

Mango

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.