Quantcast
Channel: All LoadRunner Practitioners Forum posts
Viewing all articles
Browse latest Browse all 12134

Re: C Vuser - parsing failed even though systax is correct and script runs

$
0
0

 

Hi,

 

 

Thank you for this question. We have tried to reproduce the compilation issue on several machines and it does not reproduce.

 

 

Please review the following knowledge document Error: "Script parse failed, please fix the errors before scanning" when opening the Design Studio in the LoadRunner VuGen 11.5x

 

http://support.openview.hp.com/selfsolve/document/KM00423368

It explains that the error message appears because VuGen parser does not currently support referencing a typedef that is declared in a script.

 

 

I want to check if in some of the other files in the script some line of code could be causing the error message. Could you please make an empty script without any additional lines of code in the header file, paste the code you have provided and check if the issue will reproduce.

 


Additionally you are attempting to modify a const string, which str is pointing to. The correct way to do it is
char str[3];
strcpy(str, "ab");

 

 

Please let us know the outcome.

 

Kind regards,

 


Viewing all articles
Browse latest Browse all 12134

Trending Articles