Highlighted
Contributor.
Contributor.
1473 views

How to handle SOAP request in loadrunner 12.53 web http/HTML

Hi All,

 
below is the SOAP request, Body of the request keep changing for each iteration. I gone through forums and tried handling the request but no luck. Can someone please help me how to handle that request. 
 
web_add_header("SOAPAction", 
        "\"http://imagetrust.com/scanserver/clientapi/ScanClientApi/newBatchRequest\"");

    web_custom_request("ScanClientApi_22", 
        "URL=http://XXXXXXXX/server/ScanClientApi", 
        "Method=POST", 
        "Resource=0", 
        "RecContentType=multipart/related", 
        "Referer=", 
        "Snapshot=t37.inf", 
        "Mode=HTTP", 
        "EncType=multipart/related;start=\"<rootpart*dd777d5d-20ec-4eef-bff1-1205044a2d0f@example.jaxws.sun.com>\";type=\"application/xop+xml\";boundary=\"uuid:dd777d5d-20ec-4eef-bff1-1205044a2d0f\";start-info=\"text/xml\"", 
        "Body=--uuid:dd777d5d-20ec-4eef-bff1-1205044a2d0f\r\nContent-Id: <rootpart*dd777d5d-20ec-4eef-bff1-1205044a2d0f@example.jaxws.sun.com>\r\nContent-Type: application/xop+xml;charset=utf-8;type=\"text/xml\"\r\nContent-Transfer-Encoding: binary\r\n\r\n<?xml version=\"1.0\" ?><S:Envelope xmlns:S=\"http://schemas.xmlsoap.org/soap/envelope/\"><S:Body><ns3:newBatch xmlns:ns3=\"http://imagetrust.com/scanserver/clientapi\" xmlns:xmime=\"http://www.w3.org/2005/05/xmlmime\"><arg0>H4sIAAAAAAAAAOy9aXPjSJIg+"
        "v39Ckxv25jSrJAkAJ6a6mqjeGSqWweLVKamdt/uGERCErooQg2Sysyenf/+wj0OBEgHI0BQ2bn71EeVDsrd4/L7+Hk1C5ezRRwt1++fknm0eP+X5M5ZRWkcLuJ/hOs4Wf7pD7PNap08/eGX/8dxft75fO9utU7D2frTMv77Jhou1/H6G3ySfXYe3YebxZp/x76P57/Uf66xf/Jf17Tf/1yzBryHhE0830vAhn3gl/Cu2/a6rbo7v2+HrudFbbfTvuu6YX0ezLx6q9NoMSrxo+XozGHfpfL2iv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2DjVW/Vdn1WvUkbwHhTR97UEQTypo5sgeLN2Q55Z1tt2fCZvakjb+qICcT/BeoIHAn7uDUfVxKtzCtTrNLm44XrOle7bQXG5igsyS9BPX7+Pkmf4D6WkI6FSqEAdYw7w866HGHHObeSOw4CYGb12Ww9+z9ptQyCfEl48Z8d8Ec/12aP8WKeFgvrn5/DFAYBFrGUs3A9e9zDRPZfi72bQazn9or96yxckXu8e2vx4wWYDafA9Im/RbO1rhaJ7ws3Kk2eo3QdR8X8F+n5I/"
        "xjrD78B2cVpTGTsf9AGfunP8w2q3Xy9Ic957xZqj9huonLT2ifcP55nUaR+xTuFfx2jOXnWfLEEMKQSbnMvzGN9/2CKeDvp+s0Xj78EdqxnTMal6t4Hb8wkS//wnBPio9bXhN1XYuvegEUBSE7pprclQx6RulePmb3hmP27sCK3P9mzUfD73Xy9JQs32/W8eL99R07/xc4+xv2x5dHPlYric0lb/ZHdgL4Z3Zj/vGPX/DC4EoE/YwN4S8MjLMEjRYnJNjLIfv6s3aLDAxkEoUrZhxL/iG+Lf6blzj60k+WYOAjPzgm49z9LPHJUbKYR+n2R4sFhUlA/CW5Ky0eyNXZigMrMVD0KqzZvr26jRJS6Nq2rH53Db271ToNZ+tPy/jvm2i4XMdr0rbd/9zBudVsFvu29lwrYvvtaNqzlk08P3glep/kA7ORDlztHqqL1/qZe+yiwxcsfX7tve6/w9ZkpK7IIthvBhlWVNZ1VspK/"
        "pmbkkX8E8VVsdQqt42mvQAloPB3r6432uuLe/VEw2H+qHohl2c/vm65X6KDEul5hcrkzy
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.