Information:

Environment

Before you use Web Service Data Feed, download SoapUI software free from the following URL:

  • Dynatrace Synthetic Classic Platform
  • SOAP API
  • Backbone
Symptoms

Use SOAP to call Web Services data.

Solution

Use this web service to perform account management functions within the Dynatrace Synthetic Classic Platform:

The username/password is your Synthetic Classic account username/password.

For information about using the Synthetic Classic Account Management API and Data Feed API, see Dynatrace Synthetic Classic SOAP APIs in the documentation.


Here's an example of how to get all Backbone test monitor IDs. Replace username and password with your Synthetic Classic Portal login/password credentials:

<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:web="http://gomeznetworks.com/webservices">
<soapenv:Header/>
<soapenv:Body>
<web:Retrieve>
<web:request>
<web:user>
<web:username>USERNAME</web:username>
<web:password>PASSWORD</web:password>
</web:user>
<web:accountRequest>
<web:productRequest>
<web:activeXFProductRequest>
<web:activeXFTestRequest>
<web:backboneTestRequest>
<web:backboneTransactionTestFilter>
<web:status>ACTIVE</web:status>
<!--web:status>INACTIVE</web:status-->
</web:backboneTransactionTestFilter>
</web:backboneTestRequest>
</web:activeXFTestRequest>
</web:activeXFProductRequest>
</web:productRequest>
</web:accountRequest>
</web:request>
</web:Retrieve>
</soapenv:Body>
</soapenv:Envelope>

After you get your Backbone test monitor IDs, use the following URLs to access the production specifications for the Raw DataExport service.
http://gpn.webservice.gomez.com/DataExportService40/GpnDataExportService.asmx?WSDL 

Using 'open data feed', you can get 'session token'. Then you can get response data by the session token from 'GetResponse data'

 
Here's an example of how to open data feed. Just add your login/password credentials, as in the previous example, and change the MonitorID value to your monitor ID, as needed.

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:web="http://gomeznetworks.com/webservices/">
<soap:Header/>
<soap:Body>
<web:OpenDataFeed2>
<!--Optional:-->
<web:sUsername>
USERNAME</web:sUsername>
<!--Optional:-->
<web:sPassword>
PASSWORD</web:sPassword>
<!--Optional:-->
<web:iMonitorIdSet>
<!--Zero or more repetitions:-->
<web:int>0000000</web:int>
</web:iMonitorIdSet>
<!--Optional:-->
<web:sMonitorClassDesignator>BROWSERTX</web:sMonitorClassDesignator>
<!--Optional:-->

<!--Optional:-->
<web:sDataDesignator>ALL</web:sDataDesignator>
<!--Optional:-->
<web:sStartTime>2013-01-01 00:00:00</web:sStartTime>
<!--Optional:-->
<web:sEndTime>2013-01-09 00:00:00</web:sEndTime>
<!--Optional:-->
<web:sOrderDesignator>TIME</web:sOrderDesignator>
</web:OpenDataFeed2>
</soap:Body>
</soap:Envelope>

 

You will get a session token after you run the preceding step. For example , you get <SessionToken>4f57346e-46cf-4466-bac0-5d22dc20980a</SessionToken>, then you can do a GetResponseData request. 

This web method returns the next chunk of the dataset for a specified transaction from each site. Range, content, and volume of data will be based on constraints setup when the session was opened with one of the OpenDataFeed web methods and the standard system and account level constraints. 

Here's an example of how to get response data, using the session token above. Change it to the actual session token you receive.

<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:web="http://gomeznetworks.com/webservices/">
<soap:Header/>
<soap:Body>
<web:GetResponseData>
<!--Optional:-->
<web:sSessionToken>4f57346e-46cf-4466-bac0-5d22dc20980a</web:sSessionToken>
</web:GetResponseData>
</soap:Body>
</soap:Envelope>

 

 

  • No labels