Highlighted
Established Member..
Established Member..
1694 views

Vugen crashes while generating the code for multiprotocol Web(Http/Html) +FLEX script

Jump to solution

Hi Guys,

 

Does anybody faced this .

 

Load Runner Version  : 11.04

 

Protocols :  Web(Http/Html) +FLEX

 

Vugen crashes while while generating the code  for multiprotocol  Web(Http/Html) +FLEX script that includes when I click the stop icon, VuGen attempts to generate the script.

 

See the atatched screenshot for the error details.

 

If you have solution, please let me know.

 

 

Thanks,

Raj 

0 Likes
1 Solution

Accepted Solutions
Highlighted
Established Member..
Established Member..

Re: Vugen crashes while generating the code for multiprotocol Web(Http/Html) +FLEX script

Jump to solution

Hi Madan,

 

Nevermind, I reinstalled the LR.

 

Thanks,

Raj

View solution in original post

0 Likes
13 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Vugen crashes while generating the code for multiprotocol Web(Http/Html) +FLEX script

Jump to solution

It is good to share the script + Jar files.

0 Likes
Highlighted
Established Member..
Established Member..

Re: Vugen crashes while generating the code for multiprotocol Web(Http/Html) +FLEX script

Jump to solution

Hi Madan,

 

This is not the first time  I am creating the script,so far I have been created  bunch of scripts.Suddenly today when I tried to create the script, after I hit the stop recording button, giving error in this case how can I share the script which is not existing.

 

Please advise me! This is critical for me.

 

Thanks,

Rajani

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Vugen crashes while generating the code for multiprotocol Web(Http/Html) +FLEX script

Jump to solution

The problem may be environment specific like jre version, appilcation, specific class file used for parsing. It is hard to understand without looking at the scripts logs.

0 Likes
Highlighted
Established Member..
Established Member..

Re: Vugen crashes while generating the code for multiprotocol Web(Http/Html) +FLEX script

Jump to solution

Hi Madhan,

 

Please find the attachments of the Envoirnment of both LR & LB boxes and Jar files.

Could you please elobrate little bit, which logs you are asking?

Do you mean for the existing scripts Generation Logs?

 

What I am assuming is if we look at the error details it says

 

0023:324342D1 LrJni.dll, MICJNI::JNI::attachCurrentThread()+0097 byte(s)

0023:32432823 LrJni.dll, MICJNI::JNI::JNI()+0083 byte(s)

0023:42BD0717 AMFParser.dll, ExternalizableObjectEncoderDecoder::TestObject()+0044 byte(s)

 

don't you think Vugen.exe corrupted i.e AMFParser.dll & LrJni.dll files?

 

If so can I replace with new Vugen.exe(SP4) for LR Version 11.04?

Where can I see the orginal Vugen. exe ,I mean in which folder?

 

If you think I need to replace with new one,could you please provide the link,so that I will download.

 

Please Please advise me!

 

Thanks,

Raj

 

 

 

 

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Vugen crashes while generating the code for multiprotocol Web(Http/Html) +FLEX script

Jump to solution

I'm referring to complete script folder & Jar files. Using that we can generate the script and verify the problem at our end.

 

If it is not 11.04 alredy, please apply the Patch 4 on top of 11.0. It has some fixes around it.

 

Please dont replace the specific dlls or VuGen.exe and it may corrupt the installation.

0 Likes
Highlighted
Established Member..
Established Member..

Re: Vugen crashes while generating the code for multiprotocol Web(Http/Html) +FLEX script

Jump to solution

Hi Madan,

 

I have already installed Patch 4.

LR version is : 11.04

OS: Windows Server 2008 R2 Standard and 64- bit.

 

Thanks,

Raj

 

 

0 Likes
Highlighted
Established Member..
Established Member..

Re: Vugen crashes while generating the code for multiprotocol Web(Http/Html) +FLEX script

Jump to solution

Hi Madan,

 

When I submitted a HP service Ticket, they suggested me to replace the  amfparser.dll and lrjni.dll . 

 

After I replaced the  amfparser.dll and lrjni.dll  able to generate the Scope Vugen is not crashing, but It’s not generating the Flex_Amf_Call instead of that generating the flex_web_request(see the attached script).

 

Script should be like the following for the Flex +Web(Http/Html) protocol.

 

 

flex_amf_call(

                        "AMF3_call",

                        "Gateway=http://XXXXXX/XXXXXX/messagebroker/amf",

                        "Snapshot=t1.inf",

                        MESSAGE,

                        "Method=null",

                        "TargetObjectId=/1",

                        BEGIN_ARGUMENTS,

                        "<AMF3><object-externalizable-custom><flex.messaging.messages.CommandMessage>"

                        "<destination/><messageId>3221B254-41C8-C274-32E2-7003521C4DF4</messageId>"

                        "<timestamp>0</timestamp><timeToLive>0</timeToLive><headers><entry><string>"

                        "DSMessagingVersion</string><int>1</int></entry><entry><string>DSId</string>"

                        "<string>nil</string></entry></headers><body serialization=\"custom\" class="

                        "\"flex.messaging.io.amf.ASObject\"><unserializable-parents/><map><default>"

                        "<loadFactor>0.75</loadFactor><threshold>12</threshold></default><int>16</int>"

                        "<int>0</int></map><flex.messaging.io.amf.ASObject><default><inHashCode>"

                        "false</inHashCode><inToString>false</inToString></default>"

                        "</flex.messaging.io.amf.ASObject></body><correlationId/><operation>5</operation>"

                        "</flex.messaging.messages.CommandMessage></object-externalizable-custom></AMF3>",

                        END_ARGUMENTS,

                        LAST);

 

Please advise me!

 

Thanks,

Rajani

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Vugen crashes while generating the code for multiprotocol Web(Http/Html) +FLEX script

Jump to solution

OK. It is related to parsing problem. You might have received the errors during code generation. Please checking it. Mostly it is due to missing class file.

0 Likes
Highlighted
Established Member..
Established Member..

Re: Vugen crashes while generating the code for multiprotocol Web(Http/Html) +FLEX script

Jump to solution

Hi Madan,

 

Due you know which class file is missing?

 

Thanks,

Raj

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Vugen crashes while generating the code for multiprotocol Web(Http/Html) +FLEX script

Jump to solution

The Code generation errors window will show about it. Alternatively, you can see it in the Code gen logs also.

 

0 Likes
Highlighted
Established Member..
Established Member..

Re: Vugen crashes while generating the code for multiprotocol Web(Http/Html) +FLEX script

Jump to solution

Hi Madan,

 

Nevermind, I reinstalled the LR.

 

Thanks,

Raj

View solution in original post

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.