Contributor.
Contributor.
707 views

Help needed on WebService Scripting

Jump to solution

Hi Team,

 

I used the below function in Web HTTP/HTML scrips to get correct response times from the loadrunner by avoiding caching the content from the disk etc.. which affetct the response time.

 

 web_cache_cleanup();

 web_cleanup_cookies();

 web_cleanup_auto_headers();

 

Will the above functions be useful for a WebSerivice script. I am not sure if they will be appropritate for a WebService Scripting. Please help me if there are any such functions for the WebServices.

 

Regards,

Karthik S

0 Likes
1 Solution

Accepted Solutions
Highlighted
Micro Focus Expert
Micro Focus Expert

Hi Karthik,

If there is not any security involved, web service scripts should be no different than web scripts for cache handling and the same cache clean up functions should work in WS script too. There are not any specific functions similar to these again for web services protocol in particular. These same functions will work in WS scripts too

 

Thanks,

Microfocus Support

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.

View solution in original post

2 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

Hi Karthik,

If there is not any security involved, web service scripts should be no different than web scripts for cache handling and the same cache clean up functions should work in WS script too. There are not any specific functions similar to these again for web services protocol in particular. These same functions will work in WS scripts too

 

Thanks,

Microfocus Support

If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.

View solution in original post

Highlighted
Honored Contributor.
Honored Contributor.

Hi,

 

Small note on top of the above. This will not be applied in case the transport level of the script is set to WCF or JMS.

 

Thanks,

Oded

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.