tag:blogger.com,1999:blog-38586079.post8639738272054590761..comments2024-01-22T15:27:00.730+08:00Comments on One size doesn't fit all: Stress & load testing web applications (even ADF & Apex) using Apache JMeterChris Muirhttp://www.blogger.com/profile/06566648350240654621noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-38586079.post-28800190690891157572010-04-13T18:17:28.289+08:002010-04-13T18:17:28.289+08:00Found where the session problem was!
It seams that...Found where the session problem was!<br />It seams that with Application Express 3.2.1.00.12<br />the "HTTP Cookie Manager" of jmeter, works properly at "compatible" policy only!<br /><br />If anyone had similar problems, that should help!Manolis Nikiforakishttps://www.blogger.com/profile/13911028188883901133noreply@blogger.comtag:blogger.com,1999:blog-38586079.post-65257524486491771812010-03-24T20:36:35.312+08:002010-03-24T20:36:35.312+08:00Hi Manolis
Unfortunately no, you're a bit bey...Hi Manolis<br /><br />Unfortunately no, you're a bit beyond my dabblings with Apex I'm afraid. Sorry I can't be of more help and good luck :-)<br /><br />CM.Chris Muirhttps://www.blogger.com/profile/06566648350240654621noreply@blogger.comtag:blogger.com,1999:blog-38586079.post-81148284371106030132010-03-19T05:40:25.145+08:002010-03-19T05:40:25.145+08:00Hello Chris, nice work on the article! :-)
On pag...Hello Chris, nice work on the article! :-)<br /><br />On pages with Authentication = public, jmeter works fine. However I am trying to include the apex authentication and session, in the test plan! (to avoid changing all pages to public)<br /><br />I am using regular expression extractors to get -><br /><br />name="p_instance" value="(.+?)"<br /><br />and -><br /><br />name="p_page_submission_id" value="(.+?)"<br /><br />and I am also posting username/pass values.<br /><br />However, I can not go through the login page of appex. (e.g. page 101, on Sample Application)<br /><br />Do you have a workaround? Is it working on your tests ?<br /><br />Do you know I have to fill in the p_md5_checksum ? I assume it is calculated in Javascript, hence I dont know how to emulate it in jmeter (?)<br /><br />Any ideas ?<br />Maybe I should write a stored procedure that makes all pages of an app, public :-)<br /><br />Thanks!Manolis Nikiforakishttps://www.blogger.com/profile/13911028188883901133noreply@blogger.comtag:blogger.com,1999:blog-38586079.post-24714772372385705732010-01-07T08:31:26.815+08:002010-01-07T08:31:26.815+08:00Thanks Phillip. Horses for courses I suspect.
CM....Thanks Phillip. Horses for courses I suspect.<br /><br />CM.Chris Muirhttps://www.blogger.com/profile/06566648350240654621noreply@blogger.comtag:blogger.com,1999:blog-38586079.post-47631660338687442902010-01-07T08:20:00.827+08:002010-01-07T08:20:00.827+08:00HI Chris, LoadStorm isn't perfect, but I reall...HI Chris, LoadStorm isn't perfect, but I really like their <a href="http://loadstorm.com/load-testing-tools" rel="nofollow">load testing tool</a>. The price is unbeatable. Using their virtual user data sets for authentication is cool & easy. Wish they had more scripts control.<br /><br />thanks, philAnonymoushttps://www.blogger.com/profile/13397074910441714914noreply@blogger.comtag:blogger.com,1999:blog-38586079.post-8243996190697545242009-12-18T14:38:12.207+08:002009-12-18T14:38:12.207+08:00Hi Chris.
It may be "cheating" somewhat...Hi Chris.<br /><br />It may be "cheating" somewhat compared to the purist approach of proxy-ing via JMeter, but the guys at Bad Boy Software (no I don't work for them) http://www.badboy.com.au have a great front end tool for JMeter in their Badboy product.<br />Makes recording the test steps a breeze and with an easy export feature you can record and then run your tests in JMeter very quickly.Andrew Rossonhttps://www.blogger.com/profile/12056519212045384065noreply@blogger.comtag:blogger.com,1999:blog-38586079.post-62874857194564855732009-10-27T08:35:02.938+08:002009-10-27T08:35:02.938+08:00Hi Harsha
I believe there a number of reasons thi...Hi Harsha<br /><br />I believe there a number of reasons this error can occur. The one I've experience with:<br /><br />http://one-size-doesnt-fit-all.blogspot.com/2009/08/jdevadf-importance-of-getting-pstxn-and.html<br /><br />Hope this helps.<br /><br />Regards,<br /><br />CM.Chris Muirhttps://www.blogger.com/profile/06566648350240654621noreply@blogger.comtag:blogger.com,1999:blog-38586079.post-13311527347055374652009-10-27T07:27:06.599+08:002009-10-27T07:27:06.599+08:00Hi Chris,
Thanks for the tutorial.
We use ADF in ...Hi Chris,<br /><br />Thanks for the tutorial.<br />We use ADF in our application . I tried jmeter . Everything works fine.<br />But there is one problem.<br />Suppose I have a series of requests, done by a user, only 1st request works, remaining requests does not work. Give me the following error for each subsequent request<br /><br />Oct 26, 2009 11:57:01 AM org.apache.myfaces.trinidadinternal.application.StateManagerImpl restoreView<br />SEVERE: Could not find saved view state for token 5ba0b4fb<br /><br />This token (5ba0b4fb) is present in the value of javax.faces.ViewState parameter in the request. <br />Doubt: How do I get this parameter from the first request , then i use the same for subsequent requests ?<br /><br />( I have a cookie manager in my thread group )<br /><br />Thanks,<br />HarshaUnknownhttps://www.blogger.com/profile/04506953982970642075noreply@blogger.comtag:blogger.com,1999:blog-38586079.post-12099085121048143472009-07-02T19:40:26.957+08:002009-07-02T19:40:26.957+08:00Hi David
Sure, I'll see what I can arrange wi...Hi David<br /><br />Sure, I'll see what I can arrange with Justin Kestelyn.<br /><br />Cheers,<br /><br />CM.Chris Muirhttps://www.blogger.com/profile/06566648350240654621noreply@blogger.comtag:blogger.com,1999:blog-38586079.post-61812698239367116092009-06-30T23:03:08.219+08:002009-06-30T23:03:08.219+08:00Chris,
Also saw your write-up in Apache (http://a...Chris,<br /><br />Also saw your write-up in Apache (http://apache.sys-con.com/node/1011417). Any chance you can write it up in a paper we can put on OTN?<br /><br />I have already passed this along to our internal QA team but I'm sure the wider OTN community would find this very valuable.<br /><br />Cheers,<br />DavidAnonymoushttps://www.blogger.com/profile/06420119505200371727noreply@blogger.comtag:blogger.com,1999:blog-38586079.post-25270078157670678232009-06-30T06:44:45.904+08:002009-06-30T06:44:45.904+08:00Thanks.
Got some time on the bench, so I'll t...Thanks.<br /><br />Got some time on the bench, so I'll try to look into it.SydOraclehttps://www.blogger.com/profile/08828771074492585943noreply@blogger.comtag:blogger.com,1999:blog-38586079.post-70155194983153549902009-06-27T11:45:29.807+08:002009-06-27T11:45:29.807+08:00Hi Gary
Currently jetlagged on the flight home, s...Hi Gary<br /><br />Currently jetlagged on the flight home, so this might not be entirely reliable.... but I believe so, there's the concept of variables, have a look at the JMeter manual. I think you can retrieve their values from the http request/response and populate the variable, then use the variable elsewhere. Otherwise there's a random number generator too.<br /><br />Cheers,<br /><br />CM.Chris Muirhttps://www.blogger.com/profile/06566648350240654621noreply@blogger.comtag:blogger.com,1999:blog-38586079.post-35250854452943555332009-06-27T09:05:40.783+08:002009-06-27T09:05:40.783+08:00Sort of related to sessions, is there a way to ame...Sort of related to sessions, is there a way to amend the submitted values. I'm thinking a way to simulate 100 users looking at 100 different orders rather than 100 users all looking at the same order (which has been grabbed from the DB by the first session and served from the application's cache for the other 99).SydOraclehttps://www.blogger.com/profile/08828771074492585943noreply@blogger.comtag:blogger.com,1999:blog-38586079.post-24169921555368595642009-06-23T16:58:51.418+08:002009-06-23T16:58:51.418+08:00Cool Chris,
This was my problem with jmeter. And ...Cool Chris,<br /><br />This was my problem with jmeter. And what are the result of a 11g and 10.1.3 ADF web application<br /><br /><br /><br />For web application's that use Cookies and session IDs (JDeveloper's ADF uses a JSessionID for tracking sessions) to track each unique user session, we cannot replay the exact HTTP request sequence with the server through JMeter, as the session ID is pegged to the recorded session, not the upcoming stress test sessions.<br /><br />To solve this in JMeter right click the Thread Group -> Add -> Config Element -> HTTP Cookie Manager. <br /><br />cheersEdwin Biemondhttps://www.blogger.com/profile/02338716126881111629noreply@blogger.com