Use a debug sampler that prints out the values of the variables. and check
that task has value Call#1. Also check case sensitivity (task or Task)

On Wed, Sep 23, 2009 at 10:12 PM, Vijay <vi...@flatworldindia.com> wrote:

> Username,password,task
>
> ch...@spaceclaim.com,jesubi,Call#1
> re...@spaceclaim.com,jesubi,Call#1
> ka...@spaceclaim.com,jesubi,Call#1
>
> Task is related to Call#1/Email#1
>
> Thanks
> Vijay
>
> -----Original Message-----
> From: Deepak Shetty [mailto:shet...@gmail.com]
> Sent: Thursday, September 24, 2009 10:39 AM
> To: JMeter Users List
> Subject: Re: how do i test for concurrent 100 users traversing dynamic
> pages
>
> Hi
> what have you specified in the CSV file ?
> regards
> deepak
>
> On Wed, Sep 23, 2009 at 9:41 PM, Vijay <vi...@flatworldindia.com> wrote:
>
> > Hi Deepak
> >
> > Ignore my previous email
> >
> > I've followed option - b on your email
> > Drive it through the CSV file and use the IF controller to control the
> > requests e.g. CSV file would be username, password, Task (with 1/0 for
> the
> > values of the flags)
> >   Thread Group
> >       CSV data set Config
> >       Http request login
> >       Http  request home
> >        if Controller ("${task}" == "Email#1")
> >            HttpRequestEmail
> >       if Controller ("${task}" == "Call#1")
> >            HttpRequestCall
> >
> > User home page appears as a table
> > Section name - List Tasks
> > Column Headers - Task, Campaign, List name, List count, Task Status,
> > Duration
> >
> > When I ran the test, my test is passed, but the http request under If
> > controller is not executed. I am stuck here.
> >
> > Kindly assist me how do I proceed..
> >
> >
> >
> > -----Original Message-----
> > From: Deepak Shetty [mailto:shet...@gmail.com]
> > Sent: Wednesday, September 23, 2009 10:01 PM
> > To: JMeter Users List
> > Subject: Re: how do i test for concurrent 100 users traversing dynamic
> > pages
> >
> > Hi
> > Im not sure I understand you correctly.I think you are trying to say that
> > different users have different links available to them once they login
> and
> > the test should only access links available to the user. If so, read on.
> > otherwise please explain preferably with clearer examples.
> >
> > Jmeter is not a browser. If you have a HTTP request sampler, Jmeter will
> > make the request . it will not check whether or not the link was present
> on
> > the previous page (The closest equivalent is if the user directly typed
> the
> > links into the browser address bar (whether or not these links are there
> in
> > the content of the first page)
> >
> > If you need different users to have different journeys, then you have
> > (Atleast) the following approaches
> > a. Create Different Journeys in your test plan itself and use the various
> > controllers that Jmeter provides to perform those journeys
> > e.g.
> >   Thread Group email related
> >      CSV Data set config (To parameterize Usernames/pwds for say your
> email
> > link only )
> >       Http request 1 login
> >       Http request Home
> >       Http request email
> >   Thread Group call related
> >      CSV Data set config (To parameterize Usernames/pwds for say your
> call
> > link only )
> >       Http request 1 login
> >       Http request Home
> >       Http request call
> > OR
> > b. Drive it through the CSV file and use the IF controller to control the
> > requests
> > e.g. CSV file would be username, password,
> canEmail,canCall,canDirectEmail
> > (with 1/0 for the values of the flags)
> >   Thread Group
> >       CSV data set Config
> >       Http request login
> >       Http  request home
> >       if Controller ("${canEmail}" == "1")
> >            HttpRequestEmail
> >       if Controller ("${canCall}" == "1")
> >            HttpRequestCall
> >  ....
> >
> > OR
> > c. Make the test links dynamic using Post Processors like Regex
> extractors
> >   Thread Group
> >       CSV data set Config
> >       Http request login
> >       Http  request home
> >          Regex post processor , extract links that you are interested in
> >       For each Controller (over extracted link from regex )
> >           request the link
> >              Maybe more post processors to extract further dynamic links
> >           Maybe If conditions based on what the link should do
> >
> >
> > regards
> > deepak
> >
> >
> >
> >
> >
> > On Wed, Sep 23, 2009 at 3:19 AM, Vijay <vi...@flatworldindia.com> wrote:
> >
> > > Good day,
> > >
> > >
> > >
> > > I have a scenario to test the load of the application for various users
> > > performing their activities. Just logging in and clicking on some
> > > activities
> > > in their home page (not all the users will have activities).
> > >
> > > I've used Jmeter proxy to record this scenario for one user where the
> > > second
> > > thread (Call#1 has some id's (dynamic ids)) and used the same thread
> > > without
> > > modifying the test script.
> > >
> > > I found all the users are forward to the same page using the same link
> > even
> > > when the link is not available for other users.
> > >
> > >
> > >
> > >
> > >
> > > Test Plan
> > >
> > > -          Thread group
> > >
> > > -          HTTP Request defaults
> > >
> > > -          HTTP Cookie Manager
> > >
> > > -              Http Request 1 - Login page
> > >
> > > -          CSV Data set config (To parameterize Usernames/pwds)
> > >
> > > -              Http Request 2 - Clicking on a link on user homepage
> > > (moreover the user homepage has some activity like, Email/Call/Direct
> > Mail
> > > links which forward user to a different page.
> > >
> > >
> > >
> > > Kindly can any one help out, how do I proceed to make the test
> > successful.
> > >
> > >
> > >
> > > Thanks
> > >
> > > Vijay
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscr...@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-h...@jakarta.apache.org
>
>

Reply via email to