Sure, 1. Added Two HTTP Samplers 2. In First One Copied the Rest URL1, and the path 3. added the atuthorization Manager to the same HTTP and given user name & password in Authorzation Manger 4. Written RegEx to capture the Out of the firts HTTP sampler( Response is only Token Value) 5. Copied the Rest URL2 in second HTTP sampler and the path. 6. Here we need to pass token Value ??? So, initially No parameters are there in HTTP smpler2, JUST URL and path
Thanks & Regards, Madhu On Wed, Dec 4, 2013 at 11:59 AM, Niraj <[email protected]> wrote: > could you plz share more details? > > > On Wed, Dec 4, 2013 at 11:55 AM, Madhu Sekhar <[email protected] > >wrote: > > > Its just URL it just doesnot have any other parameters, Intially. I am > > aware of sneding requests when recored samples, but here we just copied > > REST URL. > > > > Thanks & Regards, > > Madhu > > > > > > On Wed, Dec 4, 2013 at 11:50 AM, Niraj <[email protected]> wrote: > > > > > When you have extracted then you must have stored in variable. Use that > > > variable for example ${test} in next REST URL > > > > > > > > > On Wed, Dec 4, 2013 at 11:43 AM, Madhu Sekhar < > [email protected] > > > >wrote: > > > > > > > Exrtaction was done but how to parse the same in next URL? > > > > > > > > Thanks, > > > > Madhu > > > > > > > > > > > > On Wed, Dec 4, 2013 at 11:36 AM, Niraj <[email protected]> > > wrote: > > > > > > > > > Extract token using RegEx and use that in next request. > > > > > > > > > > > > > > > On Fri, Nov 22, 2013 at 3:07 PM, Madhu Sekhar < > > > [email protected] > > > > > >wrote: > > > > > > > > > > > Hi team, > > > > > > > > > > > > I need to test Rest URL using token based authentication. > > > > > > > > > > > > Initially I have to generate token from the REST url using > username > > > and > > > > > > password. > > > > > > > > > > > > > > > > > > Sample URL for generating token: > > > > > > https://xxx.abe.com/xxxxx/ws/rs/auth-11/token > > > > > > input parameters for this url is : username and password. > > > > > > > > > > > > The token value which is received from the response should be > used > > as > > > > > > header value for next REST URL for getting data from web service. > > > > > > > > > > > > Could you please help me out as early as possible? > > > > > > > > > > > > Thanks, > > > > > > Madhu . > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > madhu kk > > > > > > > > > > > > > > > -- > > madhu kk > > > -- madhu kk
