AnsweredAssumed Answered

Intermittent "Transaction Navigator No stateless match found"

Question asked by slafr01 Employee on Jan 31, 2019
Latest reply on Feb 4, 2019 by gadpr08

I'm new to SV and ran into something that is testing my limits of SV troubleshooting.

I've recorded two request-response pairs (the first for authentication, and the second to request data).

When I deploy I am able query the simulation, however I am seeing it intermittently fail w/ a 404.

Running the client (in this case a python script), it successfully processes 164 requests.

On attempt 165 it fails... Sometimes it fails sooner, or later. It's weirdly random.

 

...

01-31-19_15:34:55 start iteration 165
01-31-19_15:34:55 0000 REQUEST URL: https://mysim.ca.com:8446/j_security_check
01-31-19_15:34:55 0000 REQUEST HDR: Content-type = application/x-www-form-urlencoded
01-31-19_15:34:55 0000 REQUEST BODY: j_username=darth&j_password=vader
01-31-19_15:34:55 0000 sending request ...
01-31-19_15:34:55 0000 AUTHENTICATION SUCCESS cookie:JSESSIONID=P6DDNP21i4EZ9Ia6cWN5a7hMleBp_93JWIy0WPag;91273224-26ef-3552-3a41-0931640446d3; path=/; secure; HttpOnly
01-31-19_15:34:55 0000 BEGIN
01-31-19_15:34:55 0001 REQUEST URL: https://mysim.ca.com:8446/dataservice/device
01-31-19_15:34:55 0001 REQUEST HDR: Cookie = JSESSIONID=P6DDNP21i4EZ9Ia6cWN5a7hMleBp_93JWIy0WPag;91273224-26ef-3552-3a41-0931640446d3; path=/; secure; HttpOnly
01-31-19_15:34:55 0001 sending request ...
01-31-19_15:34:56 0001 HTTP ERROR <html>
<head><title>404 Not Found</title></head>
<body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr/>
<p><i>The DevTest VSE service could not match your request to a recorded request.  Consider expanding your service image.</i></p>
<br/><font size="-2">Produced by a DevTest virtualized web server.</font>
</body>
</html>

HTTP Error 404: Not Found

 

The vse_matches.log file shows...

 

2019-01-31 20:37:45,450Z (15:37)[inventory_device [VS_inventory_device_Run]/1] INFO - Transaction Navigator No stateless match found
2019-01-31 20:37:45,451Z (15:37)[inventory_device [VS_inventory_device_Run]/1] INFO - Response on the Wire HTTP/1.1 404 Not Found
Server: LISA/Virtual-Environment-Server
Date: Thu, 31 Jan 2019 15:37:44 EST
X-Powered-By: LISA/10.4.0 (10.4.0.366)
Content-Type: text/html
Content-Length: 413

<html>
<head><title>404 Not Found</title></head>
<body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr/>
<p><i>The DevTest VSE service could not match your request to a recorded request.  Consider expanding your service image.</i></p>
<br/><font size="-2">Produced by a DevTest virtualized web server.</font>
</body>
</html>

 

It is not clear to me exactly what triggered the 404 considering the navigation and match styles are pretty simple.

The log does suggest a response match problem, but nothing specific. I enabled DEBUG logging in the logging.properties files, but I don't see much more in the log that helps.

 

Thoughts?

 

Thank you,

-Fred

Outcomes