Regarding constat timer

2008-06-19 Thread Jitendra Kumar Mohanty
Hi I want to introduce delay between two requests can any body pl. tell me which one is the best way to do. i. Adding of Constant timer as a child of 1st request. Or ii. Adding the Constant timer after the 1st request. Thanks Much, Jitendra

RE: unable to send a SOAP request with byte[] - request doesn't show in Jmeter at run.

2008-06-19 Thread Sonam Chauhan
Hi Navaz -- Just to expand Shane's point a bit... HTTP is 8-bit clean, and there should be no problem inserting binary data in CDATA sections as suggested: But if the binary data (in '${byteString}') ever contained ']]', the XML will be no longer well-formed. This is put well here: htt

Re: unable to send a SOAP request with byte[] - request doesn't show in Jmeter at run.

2008-06-19 Thread Shane Petroff
Khan Navaz wrote: once I place the byte[] in vars.putObject() how can I retrieve it in the SOAP request, (Large grain of salt) I've never used either SOAP or Beanshell, but I don't see how you can append straight binary data into a SOAP request regardless of how you retrieve it. CDATA is _

Re: unable to send a SOAP request with byte[] - request doesn't show in Jmeter at run.

2008-06-19 Thread Khan Navaz
${__BeanShell(vars.getObject("byteString"))} return [EMAIL PROTECTED] all the time. Dont know what are these '[EMAIL PROTECTED]' and where its getting them from. there are no more error in jmeter.log file. On Thu, Jun 19, 2008 at 5:51 PM, sebb <[EMAIL PROTECTED]> wrote: > On 20/06/2008, Khan

Re: http authorization manager

2008-06-19 Thread maalamaal
i found the solution for this issue Jmeter does not support the digest authentication it only supports basic authentication. maalamaal wrote: > > hi > I am trying to use http authorization manager to access a web page where > in it asks for user login and pwd. > i gave my login name and pwd

Re: unable to send a SOAP request with byte[] - request doesn't show in Jmeter at run.

2008-06-19 Thread sebb
On 20/06/2008, Khan Navaz <[EMAIL PROTECTED]> wrote: > I dont know why I am having so much difficulty explaining this to you, not > sure if you want to understand it in the first place. > > once I place the byte[] in vars.putObject() how can I retrieve it in the > SOAP request, I repeat in SOAP

Re: unable to send a SOAP request with byte[] - request doesn't show in Jmeter at run.

2008-06-19 Thread Khan Navaz
I dont know why I am having so much difficulty explaining this to you, not sure if you want to understand it in the first place. once I place the byte[] in vars.putObject() how can I retrieve it in the SOAP request, I repeat in SOAP Request. I dont think I can do vars.getObject() inside the soap t

Re: unable to send a SOAP request with byte[] - request doesn't show in Jmeter at run.

2008-06-19 Thread sebb
On 20/06/2008, Khan Navaz <[EMAIL PROTECTED]> wrote: > I am a newbie, I tried > > That's not a beanshell function call. > also tried vars.getObject("byteString") in Request - Pre processor bean > shell, it doesnt work :( Have you checked the log? > also the jmeter.log has NUL NUL sometimes

Re: unable to send a SOAP request with byte[] - request doesn't show in Jmeter at run.

2008-06-19 Thread Khan Navaz
I am a newbie, I tried also tried vars.getObject("byteString") in Request - Pre processor bean shell, it doesnt work :( also the jmeter.log has NUL NUL sometimes. On Thu, Jun 19, 2008 at 4:42 PM, sebb <[EMAIL PROTECTED]> wrote: > On 20/06/2008, Khan Navaz <[EMAIL PROTECTED]> wrote: > > *BeanSh

Re: unable to send a SOAP request with byte[] - request doesn't show in Jmeter at run.

2008-06-19 Thread sebb
On 20/06/2008, Khan Navaz <[EMAIL PROTECTED]> wrote: > *BeanShell:* > String file = > Path+"/data/abcService/common/deep_foldered_images_in_zip.zip"; > byte[] byteArray; > byte[] byteString; > > try { > byteArray = IOUtils.toByteArray(new FileInputStream(file)); > } catch (IOExcepti

unable to send a SOAP request with byte[] - request doesn't show in Jmeter at run.

2008-06-19 Thread Khan Navaz
*BeanShell:* String file = Path+"/data/abcService/common/deep_foldered_images_in_zip.zip"; byte[] byteArray; byte[] byteString; try { byteArray = IOUtils.toByteArray(new FileInputStream(file)); } catch (IOException e){ e.printStackTrace(); } vars.putObject("byteString",byteArray);

Re: Re: Using Transaction Controller for creating use case

2008-06-19 Thread sebb
On 19/06/2008, Sebastian Straus <[EMAIL PROTECTED]> wrote: > Hello sebb (and of course all you other users), > > with "Stop the execution" I mean that the Beanshell stops to process the > BeanShellPreProcessor and > generates a BeanShell Error(In this error it is told that the method > sampler.

Re: ldap password with variables

2008-06-19 Thread sebb
On 19/06/2008, Michele Mase' <[EMAIL PROTECTED]> wrote: > I'm trying to test a ldap connection through jmeter's ldap request and > extended ldap req. I've a csv comma delimited lists of users and their > password. How could I use the ldap req. using the users list with variables > (like ${USER}

Re: Re: Using Transaction Controller for creating use case

2008-06-19 Thread Sebastian Straus
Hello sebb (and of course all you other users), with "Stop the execution" I mean that the Beanshell stops to process the BeanShellPreProcessor and generates a BeanShell Error(In this error it is told that the method sampler.addArgument is not known) . This happens always, when the part of the B

ldap password with variables

2008-06-19 Thread Michele Mase'
I'm trying to test a ldap connection through jmeter's ldap request and extended ldap req. I've a csv comma delimited lists of users and their password. How could I use the ldap req. using the users list with variables (like ${USER} and ${PASS}) without writing the password for each different user?