tag:blogger.com,1999:blog-906333894881257630.post8064346141219530922..comments2023-07-17T03:27:12.431+12:00Comments on Technically Works: Load Testing ASP.NET Sites with JMeterOscar Kuohttp://www.blogger.com/profile/17330923022574523457noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-906333894881257630.post-9524611685361499482015-02-16T04:14:14.695+13:002015-02-16T04:14:14.695+13:00I believe that ASP.NET Login Testing with JMeter g...I believe that <a href="http://blazemeter.com/blog/aspnet-login-testing-jmeter" rel="nofollow">ASP.NET Login Testing with JMeter</a> guide has all the necessary explanations, workarounds and examples on correlating mentioned dynamic mandatory parametersAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-906333894881257630.post-63729093831815988722014-03-09T23:53:04.735+13:002014-03-09T23:53:04.735+13:00How can I create JMeter scenario for testing ASP.N...How can I create JMeter scenario for testing ASP.NET pages - default page is login page with "Username" and "Password" fields (for entering username/password values) and [Login] button.<br />These field are named in web form like "tbUsername", "tbPassword" and "btLogin".<br />Firstly I need observe value "__VIEWSTATE" (from default page before login process) (is possible to use previous advance in this article), and values "__EVENTTARGET" and "__EVENTARGUMENT".<br />And then?<br />Have somebody some tips (or sample jmx-file)?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-906333894881257630.post-81810591378697715742013-10-08T23:11:40.147+13:002013-10-08T23:11:40.147+13:00You can click button with WebDriver Sampler, which...You can click button with <a href="http://blazemeter.com/blog/jmeter-webdriver-sampler" rel="nofollow">WebDriver Sampler</a>, which is Selenium based plugin for Jmeter. But you should note that Selenium is not for load testing and it's not recommended to use WebDriver sampler with more than 10 users.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-906333894881257630.post-82249261556180541162011-12-03T08:00:20.680+13:002011-12-03T08:00:20.680+13:00Hi,
JMeter is agnostic of server side programmin...Hi, <br /><br />JMeter is agnostic of server side programming language since it operates at browser level, so yes it will work with C# and I've showed you how to use it with ASP.NET.<br /><br />As for HTTPS, JMeter does support HTTPS but you need to do some extra configuration as described here: http://jmeter.apache.org/usermanual/get-started.html#opt_ssl.<br /><br />OscarOscar Kuohttps://www.blogger.com/profile/17330923022574523457noreply@blogger.comtag:blogger.com,1999:blog-906333894881257630.post-30486725947447498652011-12-02T21:57:43.840+13:002011-12-02T21:57:43.840+13:00will jmeter supports asp.net,C# and https environm...will jmeter supports asp.net,C# and https environments pls....Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-906333894881257630.post-1236715542606327342011-02-04T12:44:36.393+13:002011-02-04T12:44:36.393+13:00Thank you for this post. It has help me as a VERY...Thank you for this post. It has help me as a VERY Newbie to JMeter!<br /><br />-FranklinAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-906333894881257630.post-84838306452233364042010-10-07T22:34:27.545+13:002010-10-07T22:34:27.545+13:00Hi Nazia,
I never tried Rich's idea out mysel...Hi Nazia,<br /><br />I never tried Rich's idea out myself so you might have to figure it out yourself, sorry.<br /><br />Are you testing a classic ASP.NET or an ASP.NET MVC application? The __EventValidation property is only for classic ASP.NET, you won't have that if you are testing an ASP.NET MVC app.<br /><br />OscarOscar Kuohttps://www.blogger.com/profile/17330923022574523457noreply@blogger.comtag:blogger.com,1999:blog-906333894881257630.post-29951815579756857502010-10-07T22:00:13.048+13:002010-10-07T22:00:13.048+13:00Hi Oscar,
I tried to enable click event according ...Hi Oscar,<br />I tried to enable click event according to Rich's procedure. But I can't. Any suggestion?<br /><br />Note: I didn't find any __Eventvalidation in the page i tried.<br /><br />--NaziaAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-906333894881257630.post-71350105541182135052010-08-04T07:00:28.938+12:002010-08-04T07:00:28.938+12:00Hi Rich,
Thanks for the info, that's pretty c...Hi Rich,<br /><br />Thanks for the info, that's pretty cool.<br /><br />Cheers,<br />OscarOscar Kuohttps://www.blogger.com/profile/17330923022574523457noreply@blogger.comtag:blogger.com,1999:blog-906333894881257630.post-55465079883764932492010-08-04T02:58:27.150+12:002010-08-04T02:58:27.150+12:00Hi Oscar,
I actually was able to "click"...Hi Oscar,<br /><br />I actually was able to "click" the button in jmeter.<br /><br />1. Run the page once and view the HTM source to obtain the viewstate information and eventvalidation.<br /><br />2. Disable your steps for 'Extract Event Validation" and "Extract View State"<br /><br />3. In the Http request sampler for your page, change the method to "Post" and in the "send parameters with the request" section add the follwing parameters:<br /><br />Name/Value<br /><br />__VIEWSTATE/copy your viewstate and check the encode button<br /><br />__Eventvalidation/copy your event validation and check the encode button<br /><br />TextBox1/"leave empty"<br /><br />Button1/Click+Me<br /><br />In my sample which is similar to yours I will see in the View Results tree my Http response 200 and the value "Hello world" in the resulting html for the textbox.<br /><br />Rich aka anonymousAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-906333894881257630.post-70354201074906392972010-07-31T08:59:13.348+12:002010-07-31T08:59:13.348+12:00Hi,
Nope you can't, all JMeter does is record...Hi,<br /><br />Nope you can't, all JMeter does is record and play back HTTP traffic. You will need to use selenium (http://seleniumhq.org/) for something like that.<br /><br />Cheers,<br />OscarOscar Kuohttps://www.blogger.com/profile/17330923022574523457noreply@blogger.comtag:blogger.com,1999:blog-906333894881257630.post-70794357462816030322010-07-27T07:13:20.201+12:002010-07-27T07:13:20.201+12:00Great Article, I have one question.
How can you m...Great Article, I have one question.<br /><br />How can you make Jmeter click the button?Anonymousnoreply@blogger.com