the assertion is on the response you receieve not on the data you send. ytou
need to check what the browser returns when it makes a similar post using
firebug or something
regards
deepak

On Fri, Aug 28, 2009 at 7:51 PM, Hari Kishore <[email protected]>wrote:

> Hi,
>   Since I am new I need some help in assertion I am sending a post of the
> following values
>
> |SATISFACTION_SCORE|N|COMPANY.SATISFACTION_SCORE|COMPANY|NUMBER|Y|java.lang.Long/4227064769|bkLookupTypeModel/4054514321|CORE.FBK|CORE_LOOKUP_VALUE|TABLE|java.util.HashMap/962170901|java.lang.String/2004016611|ALL|com.fbk.client.mvc.model.FbkLookupValueModel/3297796275|10|10
> - Extremely satisfied|9|8|7|6|5|5 - Neutral|4|3|2|1|0|Not at all
> satisfied|SELECTLIST|SINGLESELECT_65510_15|TEXT|RADIO|com.mvc.model.FbkDataInputLogModel/896984277|1|2|3|4|4|5|5|6|6|7|1|8|9|10|11|12|10|13|14|7|0|15|0|0|0|0|16|0|17|13|18|10147|0|19|20|17|12|21|22|13|16|23|1|24|25|7|11|26|0|0|0|27|0|18|10185|0|28|18|1|0|26|0|0|0|29|0|18|10186|0|29|18|2|0|26|0|0|0|30|0|18|10187|0|30|18|3|0|26|0|0|0|31|0|18|10188|0|31|18|4|0|26|0|0|0|32|0|18|10189|0|32|18|5|0|26|0|0|0|33|0|18|10190|0|34|18|6|0|26|0|0|0|35|0|18|10191|0|35|18|7|0|26|0|0|0|36|0|18|10192|0|36|18|8|0|26|0|0|0|37|0|18|10193|0|37|18|9|0|26|0|0|0|38|0|18|10194|0|38|18|10|0|26|0|0|0|39|0|18|10195|0|40|18|11|0|13|13|13|0|17|17|0|0|17|13|0|41|12|13|13|13|13|17|17|13|0|0|0|0|0|16|42|43|17|18|10096|0|18|10183|0|13|13|13|17|44|12|18|0|0|-46|13|18|1|0|0|16|0|18|0|0|0|30|0|17|13|13|0|-48|0|0|30|0|7|1|45|0|-48|18|10097|0|13|17|0|0|
>
>
> I am doing a assertion on text "SINGLESELECT_65510_15" but my assertion is
> failing.
>
> Can anybody help how to write simple text or number assertion based on the
> above post data
>
>
>
> Thanks
> Hari
>
> -----Original Message-----
> From: Deepak Shetty [mailto:[email protected]]
> Sent: Friday, August 28, 2009 2:12 PM
> To: JMeter Users List
> Subject: Re: Issue with GWT Application
>
> GWT is still an HTTP based AJAX app  , it doesnt need any special document.
>
> You need to compare what your browser sends (using any browser sniffer like
> livehttpheaders and FF) with what you send from Jmeter by enabling View
> Results tree. Normally needs you to use Post Processors to extract data
> from
> the previous page and post it as part of the next request. Like I said look
> through the archives and the wiki on Jmeter ...
>
> If you are getting Session expire as previously posted then you arent
> passing the session id correctly ... See how your app manages session id
> (typically a cookie , sometimes URL rewriting)
>
> Its because you get Http 200 , Jmeter will report this is as success. You
> must tell it when a page is corrected by asserting the response, a test
> (jmeter or otherwise) without assertions is pretty much a bad test.
>
> regards
> deepak
>
> On Fri, Aug 28, 2009 at 2:04 PM, Hari Kishore <[email protected]
> >wrote:
>
> > Hi,
> >    I am getting response code 200 from server, but the problem is the
> data
> > is not submitted into the database. All the requests are RPC requests. I
> can
> > see different sessionid are assigned for the users for every hit on the
> > serve page. I can see this in the server log. Any docment on GWT testing
> > with Jmeter is appreciated or links...
> >
> > Thanks
> > Hari
> >
> > -----Original Message-----
> > From: Deepak Shetty [mailto:[email protected]]
> > Sent: Friday, August 28, 2009 1:39 PM
> > To: JMeter Users List
> > Subject: Re: Issue with GWT Application
> >
> > hi
> > a. By default JMeter errors are  HTTP errors(5xx or 4xx status codes).
> You
> > must add response assertions based on what your page should have (e.g.
> > Success should be displayed, title of the page should be X, there should
> be
> > no error messages etc depending on your app) if you want your app to show
> > up
> > as errors
> > b.  Qts like these been answered multiple times in these forums, please
> > search the archives. There is also documentation on what to do when the
> > browser works but jmeter doesnt seem to. You might have recorded the
> > sessionids when you recorded the script and you are resending the
> requests
> > with the same session id  (or no session id) or you probably arent using
> an
> > HTTPCookie manager.
> >
> > regards
> > deepak
> >
> > On Fri, Aug 28, 2009 at 1:14 PM, Hari Kishore <
> [email protected]
> > >wrote:
> >
> > > Hi All,
> > >                    We have a GWT application I recording the script
> using
> > > http proxy. When I replay the script I am not able to submit the data
> > into
> > > the database after action clicks . But Jmeter runs without any issues.
> >  But
> > >   if we see the Response header no information is shown or it says
> > session
> > > expired. Can anybody help me how to work with GWT / AJAX  Load testing
> > using
> > > Jmeter...
> > >
> > >
> > > Thanks
> > > Hari
> > >
> >
> > ---------------------------------------------------------------------
> > 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]
>
>

Reply via email to