Highlighted
Absent Member.
Absent Member.
102 views

problem With deconnexion action

Hi;

I realize a load test with 200 users on a web application writed with Java/J2ee.
When I record the deconnexion action (Click on a button) and I replay the action which is located into vuser_end.c, then VUserGen crash (version 9.52).
I have the followong error :


Run time error
The application has requested the Runtime to terminate it in an unusauly way.

The code is :

lr_start_transaction("CAS01_03_Deconnexion");
web_url("logoff.jsp",
"URL=http://{AdresseHttp}/Cedre/jgraf/views/logoff.jsp",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t6.inf",
"Mode=HTML",
LAST);
lr_end_transaction("CAS01_03_Deconnexion",LR_AUTO);

Q : how resolve this crash or simulate the deconnexion action ?

Regards
0 Likes
2 Replies
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: problem With deconnexion action

Did you get any error in the generation log when you recorded the script? Have you tailed the logs on your app server to determine if there is an error thrown that could cause a problem in VuGen? If not try that.

Try adding the server to the "Port Mapping" section of the recording options and re-record the script.
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: problem With deconnexion action

Hi;

Into the generation logs I have the following code in red color (just the line where there are the "Error" :

dwr.engine.setRpcType = function(newType) {
if (newType != dwr.engine.XMLHttpRequest && newType != dwr.engine.IFrame && newType != dwr.engine.ScriptTag) {
dwr.engine._handleError(null, { name:"dwr.engine.invalidRpcType", message:"RpcType must be one of dwr.engine.XMLHttpRequest or dwr.engine.IFrame or dwr.engine.ScriptTag" });
return;
}
========================================
dwr.engine.setHttpMethod = function(httpMethod) {
if (httpMethod != "GET" && httpMethod != "POST") {
dwr.engine._handleError(null, { name:"dwr.engine.invalidHttpMethod", message:"Remoting method must be one of GET or POST" });
return;
}
==========================================
(function(){var _1;Ext.lib.Dom={getViewWidth:function(_2){return _2?this.getDocumentWidth():this.getViewportWidth();},getViewHeight:function(_3){return _3?this.getDocumentHeight():this.getViewportHeight();},getDocumentHeight:function(){var _4=(document.compatMode!="CSS1Compat")?document.body.scrollHeight:document.documentElement.scrollHeight;return Math.max(_4,this.getViewportHeight());},getDocumentWidth:function(){var _5=(document.compatMode!="CSS1Compat")?document.body.scrollWidth:document.documentElement.scrollWidth;return Math.max(_5,this.getViewportWidth());},getViewportHeight:function(){var _6=self.innerHeight;var _7=document.compatMode;if((_7||Ext.isIE)
....
=======================================
Ext.PagingToolbar=function(el,ds,_3){Ext.PagingToolbar.superclass.constructor.call(this,el,null,_3);this.ds=ds;this.cursor=0;this.renderButtons(this.el);this.bind(ds);};
.........


$$$$$$ Add Event For Transaction With Id 124 Ended $$$$$$

Event Matching Error: IN Event left without an OUT event at the end of recording

Regards
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.