JsonGwtToXml Function

Description:

This function converts a Json-Gwt message to XML. A description of the XML tags representing a Gwt message can be found in the XML representation of Gwt messages section.

Format:

result = JsonGwtToXml(input_string);

Parameter:

input_string

A string expression from contains a Gwt message

Example:

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)
   

See also:





Go back to the Learning center:


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