Information:

Environment
  • Synthetic Classic Web Service Data Feeds
  • Private Last Mile
  • Last Mile
Symptoms

 

Solution

Below are the steps for obtaining the proper Monitor IDs for pulling Last Mile data. Please make sure to edit the bolded items as needed.

To change those for Private Peer, edit the following:

  • change LMTX to PPTX

  • change sMonitorClassDesignator>LASTMILE to sMonitorClassDesignator>PRIVATEPEER


Part 1 get MGBMonitor.

1. Get LM MGB monitor ID the web service end point for this is http://gpn.webservice.gomez.com/AccountManagementService40/AccountManagementWS.svc

2. Here is the Request to use

<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:childAccountStatusFilter>ACTIVE</web:childAccountStatusFilter>
<web:userStatusFilter>ACTIVE</web:userStatusFilter>
<web:productRequest>
<web:activeXFProductRequest>
<web:activeXFTestRequest>
<web:activeXFTestFilter>  
<web:typeFilter>LMTX</web:typeFilter>
<web:lastMileMonitorInstanceFilter>
<web:status>ACTIVE</web:status>
</web:lastMileMonitorInstanceFilter>
<web:includeParentGroups>true</web:includeParentGroups>  
</web:activeXFTestFilter>  
</web:activeXFTestRequest>
<web:lastMileLocationFilter>
<web:type>PUBLIC</web:type>
</web:lastMileLocationFilter>
</web:activeXFProductRequest>
</web:productRequest>
</web:accountRequest>
</web:request>
</web:Retrieve>
</soapenv:Body>
</soapenv:Envelope>


3. The response will have MGBMonitor listed like this.
<MonitorInstances>
<MonitorInstance Id="123456" status="ACTIVE"/>
<MonitorInstance Id="123457" status="ACTIVE"/>
</MonitorInstances>

Take the ID and use them in the Data Export Service 4.0

Part 2 Using Data Export Service 4.0 and MGBMonitor you get the LM data. Web Service End point http://gpn.webservice.gomez.com/DataExportService40/GpnDataExportService.asmx
1. Here is the request to get the session token use open data feed.
 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:web="http://gomeznetworks.com/webservices/">
<soapenv:Header/>
<soapenv:Body>
<web:OpenDataFeed>
<web:sUsername>USERNAME</web:sUsername>
<web:sPassword>PASSWORD</web:sPassword>
<web:iMonitorIdSet>
<web:int>123456</web:int>
<web:int>123457</web:int>
</web:iMonitorIdSet>
<web:iSiteIdSet>

<web:int>123</web:int>
</web:iSiteIdSet>
<web:sMonitorClassDesignator>LASTMILE</web:sMonitorClassDesignator>
<web:sDataDesignator>ALL</web:sDataDesignator>
<web:sStartTime>05-24-2010</web:sStartTime>
<web:sEndTime>05-25-2010</web:sEndTime>
<web:sOrderDesignator>TIME</web:sOrderDesignator>
</web:OpenDataFeed>
</soapenv:Body>
</soapenv:Envelope>

3. The OpenDataFeed will provide the session token insert the toke to the getResponseData web service.

 

Root Cause

 

Icon

  1. Anonymous (login to see details)

    It seems the Webservice only returns MonitorInstanceRef information for active last mile tests. I've tried different MonitorInstanceRefFilter settings ("ACTIVE","INACTIVE","ALL"), but whenever a test is inactive the monitorinstance ref is not included in the response.

    Is there a way to download the data for inactive tests as well (of course only for the timeperiod we store the data)?

    1. Anonymous (login to see details)

      Could you post the SOAP request (minus user name / password), please?

    2. Anonymous (login to see details)

      Please disregard the SOAP request.  I assume you are using one very similar to the one listed in the article.  I am investigating.