> What did you expect to happen? > What actually happened? 1. I've created HTTP Req Def element to Test Plan 2. Entered Server Name and server port 3. Entered Default folder "/folder1/"
Then I've created a HTTP sampler with the following details: blank server name blank server port folder = /folder2/page The actual HTTP request was: server:port/folder2/page I was expecting the request to be: sever:port/folder1/folder2/page sebb-2-2 wrote: > > On 18/08/2009, Andrey Simonov <[email protected]> wrote: >> >> > Yes, try it. >> >> I have tried it, it did not work. That is exactly the reason why I have >> created this post. > > Well, it works for me. Just tried it. > > What did you expect to happen? > What actually happened? > >> >> >> sebb-2-2 wrote: >> > >> > On 18/08/2009, Andrey Simonov <[email protected]> wrote: >> >> >> >> Hello, >> >> >> >> I have a question regarding HTTP Request Defaults - is there any way >> to >> >> specify a default folder in this element or anywhere else? >> >> >> >> Currently only server name and port are defaulted. But all my server >> >> requests go like >> >> >> >> server:port/folder1/folder2 >> >> >> >> So is there any way not to specify folder1/folder2 all the time? >> > >> > Yes, try it. >> > >> >> From Help on 'HTTP Request Defaults' element: >> >> Note that the path is the default for the full path, not a prefix to >> be >> >> applied to paths specified on the HTTP Request screens. >> > >> > That means that if the default is >> > >> > /folder1/folder2 >> > >> > then a sampler which uses >> > >> > /folder7 >> > >> > will use /folder7, not /folder1/folder2/folder7 >> > >> > When in doubt, try it out. You can use the mirror server to check what >> is >> > sent. >> > >> >> -- >> >> View this message in context: >> >> >> http://www.nabble.com/HTTP-Request-Defaults---specify-default-folder-tp25028940p25028940.html >> >> Sent from the JMeter - User mailing list archive at Nabble.com. >> >> >> >> >> >> >> --------------------------------------------------------------------- >> >> 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] >> > >> > >> > >> >> >> -- >> View this message in context: >> http://www.nabble.com/HTTP-Request-Defaults---specify-default-folder-tp25028940p25029424.html >> >> Sent from the JMeter - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> 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] > > > -- View this message in context: http://www.nabble.com/HTTP-Request-Defaults---specify-default-folder-tp25028940p25030787.html Sent from the JMeter - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

