jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Speteanu <asp.ad...@gmail.com>
Subject Re: Issue sending parameters with the request
Date Wed, 20 Jul 2011 13:44:28 GMT
Didn't noticed that first time. I believe you may need multi-part post in
this case (when debuging with firefox, you should see if this is the case).
Have you tried this yet? I haven't figure out a way to do multi-part posts
with the xml/rpc sampler, you'll have to try using the http sampler.

On Wed, Jul 20, 2011 at 1:55 PM, Bhayana, Sidhant <
sidhant.bhayana@igatepatni.com> wrote:

> Thanks Adrian. I have tried replaying the recorded request without any
> changes, still did not get the desired page.
> I have previously worked with AJAX calls containing only 1 string in the
> Post Parameters however this one uses two of the kind which are the cause
> for the concern.
>
> -----Original Message-----
> From: Adrian Speteanu [mailto:asp.adieu@gmail.com]
> Sent: Wednesday, July 20, 2011 4:17 PM
> To: JMeter Users List
> Subject: Re: Issue sending parameters with the request
>
> Hi,
>
> Try using another type of sampler: the SOAP/XML-RPC Request. To properly
> send a post message with it, untick the "Send SOAPAction" option and use an
> entire URL unlike the HTTP Sampler. Your post data goes in the Data field -
> if anything, it will be easier to edit post data with this sampler.
>
> If it still doesn't work, consider what is not working the same as in the
> browser: user session cookies, prior login to this request not successful,
> this query contains user specific data that don't correspond to the user
> session you're creating in JMeter, etc.
>
> BTW, the post data looks like ajax, its a lot of work to get it to work
> with
> jmeter, a lot of try & retries required before you make proper requests -
> but this particular request doesn't look to me that it might contain data
> that needs to be extracted dynamically from previous pages, so you should
> be
> able to get it working.
>
> Good luck,
> Adrian S
>
> On Wed, Jul 20, 2011 at 12:27 PM, Bhayana, Sidhant <
> sidhant.bhayana@igatepatni.com> wrote:
>
> > Hi,
> >                I am trying to record a web application using Jmeter-2.4
> and
> > I am facing issues in Sending the highlighted parameters with the
> request. I
> > tried breaking down the string into individual parameters but nothing
> seems
> > to be working.
> > Can anyone suggest any possible practice to deal with the multiple
> strings
> > posted with the requests?
> >
> >
> >
> --------------------------------------------------------------------------------------------------------------------------------------------------------
> > POST http://URL/
> >
> > POST data:
> >
> {"attendanceSelectionModel":{"View":"1","FromDate":"20/07/2011","ToDate":"20/07/2011","OffRoll":false,"Maintain":false,"GT":false,"FSM":false,"LAC":false,"RollCallPercent":false,"LessonByLessonPercent":false,"Sen":false,"RegistrationGroup":true,"AddAdditional":false,"AddAdditionColumn":"Legal
> >
> Name","RollCallAM":true,"RollCallPM":true,"Mon":true,"Tue":true,"Wed":true,"Thu":true,"Fri":true,"Sat":false,"Sun":false,"Photo":false,"CurrentScreen":"1","SelectedPeriod":"","SomeLearnersOnly":false},"advanceSearchForNonEts":{"SearchIndex":["1"],"SearchAttribute":["1178"],"SearchCondition":["Equal"],"SearchValueList":["RG02"],"SearchConditionText":"","IsBlank":[false],"SortOrder":[],"SortField":[],"ActionPath":"/Attendance/Attendance/AdvanceFilterView/","ParentDiv":""}}
> >
> >
> >
> -----------------------------------------------------------------------------------------------------------------------------------------------------------
> >
> >
> >
> > Thanks & Regards,
> > Sidhant
> >
> >
> > ________________________________
> > Information contained and transmitted by this e-mail is confidential and
> > proprietary to iGATE Patni and its affiliates and is intended for use
> only
> > by the recipient. If you are not the intended recipient, you are hereby
> > notified that any dissemination, distribution, copying or use of this
> e-mail
> > is strictly prohibited and you are requested to delete this e-mail
> > immediately and notify the originator or mailadmin@igatepatni.com. iGATE
> > Patni does not enter into any agreement with any party by e-mail. Any
> views
> > expressed by an individual do not necessarily reflect the view of iGATE
> > Patni. iGATE Patni is not responsible for the consequences of any actions
> > taken on the basis of information provided, through this email. The
> contents
> > of an attachment to this e-mail may contain software viruses, which could
> > damage your own computer system. While iGATE Patni has taken every
> > reasonable precaution to minimise this risk, we cannot accept liability
> for
> > any damage which you sustain as a result of software viruses. You should
> > carry out your own virus checks before opening an attachment. To know
> more
> > about iGATE Patni please visit www.igatepatni.com.
> >
>
> Information contained and transmitted by this e-mail is confidential and
> proprietary to iGATE Patni and its affiliates and is intended for use only
> by the recipient. If you are not the intended recipient, you are hereby
> notified that any dissemination, distribution, copying or use of this e-mail
> is strictly prohibited and you are requested to delete this e-mail
> immediately and notify the originator or mailadmin@igatepatni.com. iGATE
> Patni does not enter into any agreement with any party by e-mail. Any views
> expressed by an individual do not necessarily reflect the view of iGATE
> Patni. iGATE Patni is not responsible for the consequences of any actions
> taken on the basis of information provided, through this email. The contents
> of an attachment to this e-mail may contain software viruses, which could
> damage your own computer system. While iGATE Patni has taken every
> reasonable precaution to minimise this risk, we cannot accept liability for
> any damage which you sustain as a result of software viruses. You should
> carry out your own virus checks before opening an attachment. To know more
> about iGATE Patni please visit www.igatepatni.com.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message