Need help with StresStimulus? Start here.
Issue with WebSocketSession Element in XML Schema
Jyothsna Posts: 3
6/3/2024
|
Hi everyone, When recording and validating a script that includes WebSocket sessions, I am receiving the following errors in the script editor: Line: 10, Position: 8 "The element 'Transaction' has invalid child element 'WebSocketSession'." List of possible elements expected: 'SessionContainer, Loop, Transaction, Session, Action, Rendezvous, ResetConnections, Condition, While, Page, SetCookie, Delay, Comment, AbortIteration, Validators'." Line: 13, Position: 10 "The element 'Page' has invalid child element 'WebSocketSession'.
It appears that the XML schema does not contain the WebSocketSession or WebSocketFrame elements, which results in validation errors whenever WebSocket sessions are recorded as part of the script.

Note: When I record HTTP requests, the script is recorded and validated in the Script Editor without any errors. Issue is only, when recording WebSocket requests, it says elements are not supported in the schema. Has anyone else encountered this issue? If so, how did you resolve it? Is there an update or workaround available to include WebSocket sessions and frames in the XML schema correctly? Any assistance would be greatly appreciated! Thanks in advance.
|
|
0
link
|
Copyright © 2025 Stimulus Technology