Need help in Login Logout script

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Need help in Login Logout script

neeraj.kumar37@wipro.com.INVALID
Hi Team,

We are working in Jmeter script which includes only Login and Logout.
The script is passing intermittently. The sign-in is failing with "HTTP/1.1 500 Internal Server Error"
We have correlated all the possible values, using Cookie Manager and used Authorization Manager also but no success.
Can anyone pls help what could be the issue.

Regards,
Neeraj Kumar
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com
Reply | Threaded
Open this post in threaded view
|

Re: Need help in Login Logout script

Ivan Rancati-3
As the script is passing intermittently, perhaps you have found a server
bug/crash.
The server logs should explain the reason of the 500 Internal Server Error
(if they don't, you have also found a bug in logging)

On Mon, Aug 19, 2019 at 1:59 PM [hidden email]
<[hidden email]> wrote:

> Hi Team,
>
> We are working in Jmeter script which includes only Login and Logout.
> The script is passing intermittently. The sign-in is failing with
> "HTTP/1.1 500 Internal Server Error"
> We have correlated all the possible values, using Cookie Manager and used
> Authorization Manager also but no success.
> Can anyone pls help what could be the issue.
>
> Regards,
> Neeraj Kumar
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments. WARNING: Computer viruses can be
> transmitted via email. The recipient should check this email and any
> attachments for the presence of viruses. The company accepts no liability
> for any damage caused by any virus transmitted by this email.
> www.wipro.com
>
Reply | Threaded
Open this post in threaded view
|

Re: Need help in Login Logout script

Ivan Rancati-3
Here are a couple of very generic troubleshooting suggestions. You might
have to work with the website developer/admin to get more details

My guess is that userId is derived from the username you pass in with your
login script.
Find out why no userId is there:

A problem in your JMeter Script? Are you sure the username is sent the way
the application expects it?
You say the script is failing intermittently. Could it be that for some
iterations the username value is empty?
You could check what gets sent with View Results Tree in JMeter, or with
tcpdump.

Server problems
A Web server in front of the application server that does not pass
parameters properly?
THe application cannot keep up with the load?

On Thu, Aug 22, 2019 at 9:32 AM [hidden email] <
[hidden email]> wrote:

> Hi Ivan,
>
> The server shows below error:
>
> 09:56:58,698 +0100 ERROR [io.undertow.request] (default task-224)
> UT005023: Exception handling request to /internal/current-user/user:
> javax.servlet.ServletException: java.lang.NullPointerException: null
> value in entry: userId=null
>
> Not sure what is this "userId".
>
> Regards,
> Neeraj Kumar
>
> ------------------------------
> *From:* Ivan Rancati <[hidden email]>
> *Sent:* Thursday, August 22, 2019 1:13 AM
> *To:* JMeter Users List <[hidden email]>
> *Subject:* Re: Need help in Login Logout script
>
> ** This mail has been sent from an external source. Treat hyperlinks and
> attachments in this email with caution**
>
> As the script is passing intermittently, perhaps you have found a server
> bug/crash.
> The server logs should explain the reason of the 500 Internal Server Error
> (if they don't, you have also found a bug in logging)
>
> On Mon, Aug 19, 2019 at 1:59 PM [hidden email]
> <[hidden email]> wrote:
>
> > Hi Team,
> >
> > We are working in Jmeter script which includes only Login and Logout.
> > The script is passing intermittently. The sign-in is failing with
> > "HTTP/1.1 500 Internal Server Error"
> > We have correlated all the possible values, using Cookie Manager and used
> > Authorization Manager also but no success.
> > Can anyone pls help what could be the issue.
> >
> > Regards,
> > Neeraj Kumar
> > The information contained in this electronic message and any attachments
> > to this message are intended for the exclusive use of the addressee(s)
> and
> > may contain proprietary, confidential or privileged information. If you
> are
> > not the intended recipient, you should not disseminate, distribute or
> copy
> > this e-mail. Please notify the sender immediately and destroy all copies
> of
> > this message and any attachments. WARNING: Computer viruses can be
> > transmitted via email. The recipient should check this email and any
> > attachments for the presence of viruses. The company accepts no liability
> > for any damage caused by any virus transmitted by this email.
> >
> https://clicktime.symantec.com/395dTaA2UR7NkWGSgwgW4jN7Vc?u=www.wipro.com
> >
> The information contained in this electronic message and any attachments
> to this message are intended for the exclusive use of the addressee(s) and
> may contain proprietary, confidential or privileged information. If you are
> not the intended recipient, you should not disseminate, distribute or copy
> this e-mail. Please notify the sender immediately and destroy all copies of
> this message and any attachments. WARNING: Computer viruses can be
> transmitted via email. The recipient should check this email and any
> attachments for the presence of viruses. The company accepts no liability
> for any damage caused by any virus transmitted by this email.
> www.wipro.com
>