Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

Loadrunner Json web_custom_request Error -26627: HTTP Status-Code=404 (Not Found)

$
0
0

I have recorded a script with following  web_custom_request

web_custom_request("page_6",
  "URL=https://XXXXXX:8443/delegate/mntresttalend/transportationAsset/page?tsr=1492515446164",
  "Method=POST",
  "TargetFrame=",
  "Resource=0",
  "RecContentType=application/json",
  "Referer=https://XXXX:8443/group/guest/mnt",
  "Snapshot=t212.inf",
  "Mode=HTML",
  "EncType=application/json;charset=utf-8",
  "Body={\"filters\":{\"filters\":[{\"property\":\"transportationAssetType.id\",\"filterParameters\":[{\"type\":\"eq\",\"values\":[\"7\"],\"group\":null,\"operator\":null}]}]},\"sort\":{\"sortParameters\":[]},\"pageNumber\":1,\"pageSize\":20}",
  LAST);

Request seems to be working fine in Jmeter but we are planning to use loadrunner and my script is failing with following error

 Error -26627: HTTP Status-Code=404 (Not Found) for "https://XXXXX:8443/delegate/mntresttalend/transportationAsset/page?tsr=1492515446164

I can following 2 warning as well before this error

vuser_end.c(24): web_custom_request("page_6") started   [MsgId: MMSG-26355]
vuser_end.c(24): Warning: The string '"type":"eq","values":["7"],"group":null,"operator":null' with parameter delimiters is not a parameter.
vuser_end.c(24): Warning: The string '"sortParameters":[]' with parameter delimiters is not a parameter.
vuser_end.c(24): t=162063ms: 289-byte response headers for "https://XXXXXX:8443/delegate/mntresttalend/transportationAsset/page?tsr=1492515446164" (RelFrameId=1, Internal ID=763)
vuser_end.c(24):     HTTP/1.1 404 Not Found\r\n
vuser_end.c(24):     Server: Apache-Coyote/1.1\r\n
vuser_end.c(24):     X-Content-Type-Options: nosniff\r\n
vuser_end.c(24):     X-Frame-Options: SAMEORIGIN\r\n
vuser_end.c(24):     X-XSS-Protection: 1\r\n
vuser_end.c(24):     Cache-Control: no-cache\r\n
vuser_end.c(24):     Expires: -1\r\n
vuser_end.c(24):     Pragma: no-cache\r\n
vuser_end.c(24):     Content-Type: text/html;charset=UTF-8\r\n
vuser_end.c(24):     Content-Length: 670\r\n
vuser_end.c(24):     Date: Tue, 18 Apr 2017 17:04:23 GMT\r\n

Any Suggestion to resolve this error ?


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>