Load testing GWT protocol with AgileLoad

To allow the AgileLoad user to modify and add some variables in the GWT message, the AgileLoad recording module converts the GWT messages to XML.

The GWT tree view allows to extract data from GWT responses.

extract data from GWT responses

Because GWT messages are managed like XML messages, data can be extracted from GWT messages using the same method than the one used to extract data from XML messages (see Extracting a web page content and Extracting data from a XML document)

When a parser is added to a GWT http request, two functions calls are added to the GWT http request:

 

SUBMIT POST "http://10.1.10.120/examples/gwt/ServiceIdentification.rpc" IDENTIFIER 15 REFERER 5
GWT
    "<GWTRequest>"
         "<version>5</version>"
         "<type_name_count>4</type_name_count>"
         "<module_url>http://10.1.10.120/examples/gwt/</module_url>"
         "<strong_name>179201G4A471B577F8BE014E4766222F</strong_name>"
         "<service_name>AgileLoad.gwt.security.IGwtServiceIdentification</service_name>"
         "<method_name>getConnectedUser</method_name>"
         "<method_param_count>0</method_param_count>"
         "</parameters>"
    "</GWTRequest>"
    _JsonGwtToXml=JsonGwtToXml(CONTENT)
    result=XML_GetElementText(_JsonGwtToXml, "/GWTResponse[1]/response[1]/object[1]/object[3]/object[2]/value[1]", 1)
   





Go back to the Learning center:


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