Wikis - Page

Knowledge Doc: LoadRunner DevWeb protocol: Cannot read properties of undefined (reading 'then')" at websocket

0 Likes

When replaying a DevWeb script that contains websocket, it may fail with the error: "Cannot read properties of undefined (reading 'then')" at web_socket.js

Environment

LoadRunner Professional  2022 R2
 

Situation

When replaying a DevWeb script that contains websocket, it may fail with the error: "Cannot read properties of undefined (reading 'then')" at web_socket.js
 

[04:11:03.72] Error (-103845): Vuser action was stopped after receiving runtime error 'Cannot read properties of undefined (reading 'send')' (./main.js:1640:13)
[04:11:03.72] Debug: Error stack: 'TypeError: Cannot read properties of undefined (reading 'send')

Cause

This is a bug of LoadRunner 2022 R2 and may occur on other versions

Read full article

Labels:

Support Tips/Knowledge Docs
Comment List
Related
Recommended