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 > >