Of course the javascript is not getting executed - JMeter knows nothing of javascript. It only knows what is sent to the server, and the data that is received in return.
You can record using BadBoy - my previous suggestion still stands. How JMeter displays HTML is even less relevant as JMeter is not a web browser. -Mike On Wed, 2005-06-29 at 07:33 -0700, Jayashree K wrote: > Yes Micheal, Ideally it should not change anything in Jmeter, very > true. > > To sort out this problem I have carried out a small experiment. I > have > prepared 2 html pages. (Contents are all the same...There are 2 > buttons. Go and Search. In 1 page i have kept them as type = submit > and in > another page i have kept them as input type = button) > Please find .zip file as an attachment. (Contents of .zip file: Html > pages and the screenshots(.bmp files) of the response I received from > Jmeter.) > > Jmeter is neither displaying those buttons nor does it is able to > carry > any actions on the same successfully. > > I can't try with using Jmeter - Proxy recorder, as those are https > request. (Scripts are created using badboy tool) :-( > I tried to make search on this issue everywhere each help ...each > user > list ... I'm wondering how come no one have faced this problem :-( > Have anyone worked successfully with 'nput type = button' in th eir > projects? > > Can it be possible that Javascript which should get executed on click > event, is not getting executed? > > Help required. > > Thanks, > Jayashree > > > Please Note: I received failure notice for the .zip attachment. Let me > know, how can i send it accross :-) > > > > Michael Stover <[EMAIL PROTECTED]> wrote: > Changing from a submit to a button, in itself, doesn't change > anything > from JMeter's point of view. I expect that what has happened > is the > http parameters expected by the web-app have changed. > > I recommend you use JMeter's proxy recorder to record the > browsers > actions while hitting the new button, and then compare how the > request > parameters have changed in the new build. > > -Mike > > On Wed, 2005-06-29 at 02:00 -0700, Jayashree K wrote: > > Yes in response i can see the button which is having type = > submit. But i can't see the button which is of type = > button. :-(( > > Thats why i has asked are there any issues with Jmeter with > type = button. > > > > Ideally it should work....but it not not seen also, while > rest of all the objects are seen. > > > > Have you worked in such scenarios and did it worked fine in > your case? > &g t; (Also submit is hiddensubmit) > > > > thx, > > Jayashree > > > > > > > > srikanth peddireddy wrote: > > No u need not call any javascript. I wrote about javascript > only to explain how it would happen in normal scenario when > real user clicks on a normal button in browser. If u added a > HTTP request for the required page say "HandleData.asp" that > should be enough. > > I dont know why u r facing problems. > > you add Tree listener to the thread group so that u can see > what response is coming for that request.so that you can start > debugging from there > > > > Srikanth > > > > Jayashree K wrote: > > Do you mean to say, besides normal HTTP request. I have to > call javascript even? I haven't done that. > > How to do that ? :-( > > Can you please tell me Srikanth. > > > > > > > > srikanth peddireddy wrote: > > Hi, > > Clicking on a button (either a submit button o r normal > button) is a dynamic action typically done by user in browser. > > When user clicks it, if the button is a "submit", browser > will automatically send the data enterd by user in the form to > the Page (say HandleData.asp). > > But if it is a normal button , we have to write some jav > script code to call the Page- (HandleData.asp). > > > > But in either case, when you want to simulate this in > Jmeter ,you have to add a request (HTTP request ) to your test > plan so that it requests HandleData.asp with required > parameters. > > If you have already done all these and still its not > working, I dont have any other clue. > > There might be any thing specefic to ASP which Iam unaware > of as Iam basically a JSP guy > > > > regards > > Srikanth > > Jayashree K wrote: > > Thanks for the response Srikanth, > > > > Yes. There is a continue button. I'm passing all the > parameters correctly. > > Initially this continue button was having a typ e = submit > (in code) > > and now it is having type = button. > > > > Can there be any issues with hiddensubmit happening ? > > Thx, > > Jayashree > > > > > > srikanth peddireddy wrote: > > Hi, > > Though I cant understand your problem entirely, I can say u > have a some Page1 which contains a continue button on clicking > it some other page say Page2 is called.In your testplan add a > request for Page2 immediatly after Page1 and add all the > required parameters in that Page2 request and selecting GET or > POST as required. > > > > regards > > Srikanth.P > > > > Jayashree K wrote: > > > > Hi All, > > > > I'm carrying out performance testing for a site which is > developed in ASP.net. All my scripts were working fine. > Recently we received a build and my scripts are not getting > executed successfully. Post request is not adding data in > database. > > > > After analysing i found that, 'Continue' button w hich was > initially type = Submit. Is now changed to type = button. (And > javascript is called on its click) > > > > I'm not able to see that Continue button in response neither > post is happening, though parameter name and value is passed > correctly. > > > > Has anyone faced this issue? Does anyone knows solution to > this? > > > > Do i need to make any settings anywhere so as, Jmeter works > for type =button too. > > > > Eagerly waiting for responses. My work is stuck :-( > > > > Thanks, > > > > Jayashree > > > > > > > > > > > > > > > > > > > > > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection > around > > http://mail.yahoo.com > > > > Disclaimer > > > > ------------------------------------------------------------------------------------ > > This e-mail message may c ontain confidential, proprietary > > or legally privileged information. It should not be used by > > anyone who is not the original intended recipient. If you > > have erroneously received this message, please delete it > > immediately and notify the sender. > > > > The views, opinions, conclusions and other information > > expressed in this electronic mail are those of the > > individual sender and not endorsed by SDG Software > > Technologies Pvt. Ltd. unless otherwise indicated by an > > authorised representative independent of this message. > > > > Before opening any attachment please check them for viruses > > and defects. SDG Software Technologies Pvt. Ltd. shall not > > accept responsibility for any loss or damage arising from > > the use of this email or attachment(s). > > > > ------------------------------------------------------------------------------------- > > > > --------------------------------- > > How much free photo storage do you get? Store your friends n > family photos for FREE with Yahoo! Photos. > > http://in.photos.yahoo.com > > > > --------------------------------- > > Discover Yahoo! > > Get on-the-go sports scores, stock quotes, news & more. > Check it out! > > > > Disclaimer > > > > ------------------------------------------------------------------------------------ > > This e-mail message may contain confidential, proprietary > > or legally privileged information. It should not be used by > > anyone who is not the original intended recipient. If you > > have erroneously received this message, please delete it > > immediately and notify the sender. > > > > The views, opinions, conclusions and other information > > expressed in this electronic mail are those of the > > individual sender and not endorsed by SDG Software > > Technologies Pvt. Ltd. unless otherwise indicated by an > > authorised representative independent of this message. > > > > Before opening any attachment please check them for viruses > > and defects. SDG Software Technologies Pvt. Ltd. shall not > > accept responsibility for any loss or damage arising from > > the use of this email or attachment(s). > > > > ------------------------------------------------------------------------------------- > > > > --------------------------------- > > How much free photo storage do you get? Store your friends n > family photos for FREE with Yahoo! Photos. > > http://in.photos.yahoo.com > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam protection > around > > http://mail.yahoo.com > > > > Disclaimer > > > > ------------------------------------------------------------------------------------ > > This e-mail message may contain confidential, proprietary > > or legally privileged information. It should not be used by > > anyone who is not the original intended recipient. If you > > have erroneously received this message, please delete it > > immediately and notify the sender. > > > > The views, opinions, conclusions and other information > > expressed in this electronic mail are those of the > > individual sender and not endorsed by SDG Software > > Technologies Pvt. Ltd. unless otherwise indicated by an > > authorised representative independent of this message. > > > > Before opening any attachment please check them for viruses > > and defects. SDG Software Technologies Pvt. Ltd. shall not > > accept responsibility for any loss or damage arising from > > the use of this email or attachment(s). > > > > ------------------------------------------------------------------------------------- > > > > --------------------------------- > > How much free photo storage do you get? Store your friends n > family photos for FREE with Yahoo! Photos. > > http://in.photos.yahoo.com > > > > --------------------------------- > > Do you Yahoo!? > > Yahoo! Mail - Helps protect you from nasty viruses. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: jmeter-user- > [EMAIL PROTECTED] > For additional commands, e-mail: jmeter-user- > [EMAIL PROTECTED] > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

