Eric,

If you add a "View Results Tree" listener 
(https://jmeter.apache.org/usermanual/component_reference.html#View_Results_Tree)
 you should be able to get more insight into what is being sent by jMeter and 
what is being received.

Thanks

Martin

-----Original Message-----
From: Eric Rubin [mailto:[email protected]] 
Sent: Tuesday, December 10, 2019 11:26 AM
To: JMeter Users List <[email protected]>
Subject: RE: Authenticating To A .NET Web Application

Hi Martin,

Thanks for reaching out. 

As it relates to the documentation provided in the links you sent, I used 
JMeter as a proxy to record the test plan process. Unfortunately, the test sill 
doesn't appear to authenticate the user during playback. I don't believe the 
form was even submitted, as we log both failed and successful login attempts in 
our database. Further, I added an HTTP request to a page behind the login, but 
the response message is unauthorized.

I also compared the traffic generated by the recording and compared it to the 
network output from Chrome's dev tools. There are numerous requests, so it's a 
bit difficult to isolate the differences. One thing that's obvious is that my 
recording contains a cookie manager but is not supplying any name value pairs. 
The network traffic reported by Chrome shows several, so I will add that into 
the recording to see if that changes the result.

Any other thoughts you may have to overcome this would be greatly appreciated!

Kind Regards
Eric Rubin
Senior Developer
PANDORA Jewelry LLC

T. +1 (410) 309-0200 | F. +1 (410) 309-0250 | M. 410-309-0200 | 
mailto:[email protected]

Make Your Own Wish List
on PANDORA.net
-----Original Message-----
From: Herbener, Martin - Division of School Technology Planning and Project 
Management <[email protected]> 
Sent: Monday, December 9, 2019 1:04 PM
To: JMeter Users List <[email protected]>
Subject: RE: Authenticating To A .NET Web Application

Hi,

This is absolutely possible.

I would start with 
https://cwiki.apache.org/confluence/display/JMETER/DifferentBehaviour and 
https://cwiki.apache.org/confluence/display/JMETER/JMeterFAQ#JMeterFAQ-HowdoIparameterizemyJMetertestcases,
 and see if you can get to a more specific problem/question.

Good luck!

Martin

-----Original Message-----
From: Eric Rubin [mailto:[email protected]] 
Sent: Monday, December 9, 2019 10:52 AM
To: [email protected]
Subject: Authenticating To A .NET Web Application

I want to stress test some areas of an application that sit behind a log in 
page. Is there a way to do this using JMeter?

When a user enters their credentials and submits the form to authenticate, the 
data is sent to the server using a strongly typed object. In an attempt to 
replicate, I recorded the login process using the BlazeMeter extension for 
Chrome. After recording it, I converted the .har file to a .jmx, imported it 
into JMeter, and then ran my test. Unfortunately, authentication is still not 
taking place.

Is there another approach? Any suggestions would be greatly appreciated.
Kind Regards
Eric Rubin
Senior Developer
[http://logo.pandora.net/HQ_logo_email_signature.jpg]
Pandora Jewelry LLC | 250 W. Pratt Street | Baltimore, MD 21201 T. +1 (410) 
309-0200 | F. +1 (410) 309-0250 | M. 410-309-0200 | 
[email protected]<mailto:[email protected]>
Make Your Own Wish List on
PANDORA.net<http://www.pandora.net/us/>
[http://pandorajewelrymarketing.blob.core.windows.net/logos/FB-fLogo-online_2017.jpg]<https://www.facebook.com/pandorajewelry>[http://pandorajewelrymarketing.blob.core.windows.net/logos/twitter-bird-blue-on-white_2017.jpg]<https://twitter.com/pandora_NA>[http://pandorajewelrymarketing.blob.core.windows.net/logos/google_youtube_2017.jpg]<https://www.youtube.com/user/TheOfficialPandora>[http://pandorajewelrymarketing.blob.core.windows.net/logos/instagram_2017.jpg]<http://instagram.com/theofficialpandora>[http://pandorajewelrymarketing.blob.core.windows.net/logos/pinterest_badge_red_2017.jpg]<https://www.pinterest.com/officialpandora/>
 
[http://media.greatrated.com.s3.amazonaws.com/reviews.greatplacetowork.com/badges/1234569353-PANDORA-Jewelry-(United-States)-box.png]
 <http://reviews.greatplacetowork.com/pandora-jewelry-united-states>
whitespace

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

  • ... Eric Rubin
    • ... Herbener, Martin - Division of School Technology Planning and Project Management
      • ... Eric Rubin
        • ... Herbener, Martin - Division of School Technology Planning and Project Management
          • ... Eric Rubin
            • ... Mariusz W
              • ... Eric Rubin
                • ... Herbener, Martin - Division of School Technology Planning and Project Management
                • ... Eric Rubin
    • ... [email protected]

Reply via email to