You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Daniel Corredor <da...@gmail.com> on 2012/12/03 14:40:13 UTC

Re: Help using Jmeter to upload files

Hi Carlina,

Did you analyze how the information is embedded in the application once is
uploaded?

What kind of file are you trying to upload? Is it a txt file or an special
type?


Thanks,
Dan



On Fri, Nov 30, 2012 at 8:03 AM, Carolina Marques <
carolina.marques@smlinfo.com.br> wrote:

> Hi Jmeter team,
>
> We are having some troubles when we try to set the configuration to upload
> a
> file through Jmeter. It is an ECM web application and is to save, manage
> and
> store many kind of documents and all these actions require lots of mouse
> clicks. The main application module is to import documents and to scan
> documents from a scanner connected to the computer and store this. But when
> we try to configure these modules into Jmeter, it is not working.
>
> The application works this way:
>
> - Import module: We fill the text fields with the required information,
> then, we press the selection button and an selection window is opened to
> select the file on the path chosen. After this the file is carried into the
> document that is being created and then, after this, the document is
> indexed.
>
> - Scan module: We fill the text fields with the required information, then
> we press the scan button and then, the image is scanned and is showed in
> the
> viewer, then we finish the document.
>
> In both modules are possible to import or scan more than one file or image.
> We need Jmeter to do this, to upload more than one file at the same time.
>
> Our application records the log report, but when we try to check if the
> action occurred, there's no log about what has been done.
>
> Do you know who can help us to solve this problem?
>
> Since now, thanks for your help.
>
> I look forward to hearing from you.
>
> Best regards,
>
> Carolina
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

Re: RES: Help using Jmeter to upload files

Posted by Sergio Boso <se...@bosoconsulting.it>.
Hi Carolina,

I wrote successfully several scripts to test document management system (mostly based on Documentum).
It need some work, but it is quite feasible.

In general (for all test scripts) there are few caveats:
- you have to understand the protocol between the browser and the server (it can be quite different from the interaction at UI level)
- once you have recorded one or more transactions, you have to "parametrize it", i.e. to calculate and insert all the parameters 
that are needed by the server, and that may differ from time to time.
This is especially true with web services, that may bear session ID back and forth across transactions.
This often leads to record several different transactions and watch what changed between them, (httpwatch is quite useful in this 
step, or grinder for fat clients).

HTH

Sergio


Il 04/12/2012 19:22, Carolina Marques ha scritto:
> Hi Daniel,
>
> I've tried to use Badboy, and worked perfectly, but I had problems to
> configure threads into the application and we need to test with threads, and
> Jmeter responded better with the threads.
>
> I'll do a research about the Unix commands as you suggested.
>
> Thanks again for your help.
>
> Best regards,
>
> Carolina
>
>
> -----Mensagem original-----
> De: Daniel Corredor [mailto:dannux@gmail.com]
> Enviada em: terça-feira, 4 de dezembro de 2012 16:08
> Para: JMeter Users List
> Assunto: Re: Help using Jmeter to upload files
>
> Hi Carolina,
>
> Maybe try to record in Badboy and replay that way. Other way to test web
> services is using  some Unix commands and write an script.
>
> Let me know if you need any more help.
>
> Sorry I could not help more but this questions are challenging.
>
> Dan
>
>
> On Tue, Dec 4, 2012 at 8:35 AM, Carolina Marques <
> carolina.marques@smlinfo.com.br> wrote:
>
>> Hi Daniel,
>>
>> Thanks for your response. I think Jmeter doesn't do what we need. We
>> did a lot of research, but we found nothing and no one knows how to
>> help us to do this.
>>
>> The application is running through web services.
>>
>> Thanks for your help for now.
>>
>> Best regards,
>>
>> Carolina
>>
>> -----Mensagem original-----
>> De: Daniel Corredor [mailto:dannux@gmail.com] Enviada em: terça-feira,
>> 4 de dezembro de 2012 11:04
>> Para: JMeter Users List
>> Assunto: Re: Help using Jmeter to upload files
>>
>> Hi Carolina,
>>
>> Two scenarios:
>>
>> 1- I have read (feed) from static files. Not sure is that will be an
>> option for you.
>> 2- Once I had to upload a chemical structure file. I was unable to do
>> that at the beginning but later after sniffing the whole transaction I
>> was able to understand how the application decodes  the "special" file.
>>
>> How are you guys recording the test? How are you understanding "sniffing"
>> the whole interaction from your application?
>>
>> Good luck,
>> Dan
>>
>>
>>
>> On Mon, Dec 3, 2012 at 8:46 AM, Carolina Marques <
>> carolina.marques@smlinfo.com.br> wrote:
>>
>>> Hi Daniel,
>>>
>>> We are trying to upload any kind of file, since images, then txt
>>> files, doc, audio files, video files, of different sizes.
>>>
>>> We did the Jmeter calls through the link of the document we want to
> view.
>>> We
>>> have into the environment a security service running too.
>>>
>>> We did all the analysis and this is still not working.
>>>
>>> Thanks a lot for your return and I hope you can help us, because we
>>> really need this.
>>>
>>> Best regards,
>>>
>>> Carolina
>>>
>>> -----Mensagem original-----
>>> De: Daniel Corredor [mailto:dannux@gmail.com] Enviada em:
>>> segunda-feira, 3 de dezembro de 2012 11:40
>>> Para: JMeter Users List
>>> Assunto: Re: Help using Jmeter to upload files
>>>
>>> Hi Carlina,
>>>
>>> Did you analyze how the information is embedded in the application
>>> once is uploaded?
>>>
>>> What kind of file are you trying to upload? Is it a txt file or an
>>> special type?
>>>
>>>
>>> Thanks,
>>> Dan
>>>
>>>
>>>
>>> On Fri, Nov 30, 2012 at 8:03 AM, Carolina Marques <
>>> carolina.marques@smlinfo.com.br> wrote:
>>>
>>>> Hi Jmeter team,
>>>>
>>>> We are having some troubles when we try to set the configuration
>>>> to upload a file through Jmeter. It is an ECM web application and
>>>> is to save, manage and store many kind of documents and all these
>>>> actions require lots of mouse clicks. The main application module
>>>> is to import documents and to scan documents from a scanner
>>>> connected to the computer and store this. But when we try to
>>>> configure these modules into Jmeter, it is not working.
>>>>
>>>> The application works this way:
>>>>
>>>> - Import module: We fill the text fields with the required
>>>> information, then, we press the selection button and an selection
>>>> window is opened to select the file on the path chosen. After this
>>>> the file is carried into the document that is being created and
>>>> then, after this, the document is indexed.
>>>>
>>>> - Scan module: We fill the text fields with the required
>>>> information, then we press the scan button and then, the image is
>>>> scanned and is showed in the viewer, then we finish the document.
>>>>
>>>> In both modules are possible to import or scan more than one file
>>>> or
>>> image.
>>>> We need Jmeter to do this, to upload more than one file at the
>>>> same
>> time.
>>>> Our application records the log report, but when we try to check
>>>> if the action occurred, there's no log about what has been done.
>>>>
>>>> Do you know who can help us to solve this problem?
>>>>
>>>> Since now, thanks for your help.
>>>>
>>>> I look forward to hearing from you.
>>>>
>>>> Best regards,
>>>>
>>>> Carolina
>>>>
>>>>
>>>> ------------------------------------------------------------------
>>>> --
>>>> - To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
>>>> For additional commands, e-mail: user-help@jmeter.apache.org
>>>>
>>>>


-- 

Ing. Sergio Boso




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


RES: Help using Jmeter to upload files

Posted by Carolina Marques <ca...@smlinfo.com.br>.
Hi Daniel,

I've tried to use Badboy, and worked perfectly, but I had problems to
configure threads into the application and we need to test with threads, and
Jmeter responded better with the threads.

I'll do a research about the Unix commands as you suggested.

Thanks again for your help.

Best regards,

Carolina


-----Mensagem original-----
De: Daniel Corredor [mailto:dannux@gmail.com] 
Enviada em: terça-feira, 4 de dezembro de 2012 16:08
Para: JMeter Users List
Assunto: Re: Help using Jmeter to upload files

Hi Carolina,

Maybe try to record in Badboy and replay that way. Other way to test web
services is using  some Unix commands and write an script.

Let me know if you need any more help.

Sorry I could not help more but this questions are challenging.

Dan


On Tue, Dec 4, 2012 at 8:35 AM, Carolina Marques <
carolina.marques@smlinfo.com.br> wrote:

> Hi Daniel,
>
> Thanks for your response. I think Jmeter doesn't do what we need. We 
> did a lot of research, but we found nothing and no one knows how to 
> help us to do this.
>
> The application is running through web services.
>
> Thanks for your help for now.
>
> Best regards,
>
> Carolina
>
> -----Mensagem original-----
> De: Daniel Corredor [mailto:dannux@gmail.com] Enviada em: terça-feira, 
> 4 de dezembro de 2012 11:04
> Para: JMeter Users List
> Assunto: Re: Help using Jmeter to upload files
>
> Hi Carolina,
>
> Two scenarios:
>
> 1- I have read (feed) from static files. Not sure is that will be an 
> option for you.
> 2- Once I had to upload a chemical structure file. I was unable to do 
> that at the beginning but later after sniffing the whole transaction I 
> was able to understand how the application decodes  the "special" file.
>
> How are you guys recording the test? How are you understanding "sniffing"
> the whole interaction from your application?
>
> Good luck,
> Dan
>
>
>
> On Mon, Dec 3, 2012 at 8:46 AM, Carolina Marques < 
> carolina.marques@smlinfo.com.br> wrote:
>
> > Hi Daniel,
> >
> > We are trying to upload any kind of file, since images, then txt 
> > files, doc, audio files, video files, of different sizes.
> >
> > We did the Jmeter calls through the link of the document we want to
view.
> > We
> > have into the environment a security service running too.
> >
> > We did all the analysis and this is still not working.
> >
> > Thanks a lot for your return and I hope you can help us, because we 
> > really need this.
> >
> > Best regards,
> >
> > Carolina
> >
> > -----Mensagem original-----
> > De: Daniel Corredor [mailto:dannux@gmail.com] Enviada em:
> > segunda-feira, 3 de dezembro de 2012 11:40
> > Para: JMeter Users List
> > Assunto: Re: Help using Jmeter to upload files
> >
> > Hi Carlina,
> >
> > Did you analyze how the information is embedded in the application 
> > once is uploaded?
> >
> > What kind of file are you trying to upload? Is it a txt file or an 
> > special type?
> >
> >
> > Thanks,
> > Dan
> >
> >
> >
> > On Fri, Nov 30, 2012 at 8:03 AM, Carolina Marques < 
> > carolina.marques@smlinfo.com.br> wrote:
> >
> > > Hi Jmeter team,
> > >
> > > We are having some troubles when we try to set the configuration 
> > > to upload a file through Jmeter. It is an ECM web application and 
> > > is to save, manage and store many kind of documents and all these 
> > > actions require lots of mouse clicks. The main application module 
> > > is to import documents and to scan documents from a scanner 
> > > connected to the computer and store this. But when we try to 
> > > configure these modules into Jmeter, it is not working.
> > >
> > > The application works this way:
> > >
> > > - Import module: We fill the text fields with the required 
> > > information, then, we press the selection button and an selection 
> > > window is opened to select the file on the path chosen. After this 
> > > the file is carried into the document that is being created and 
> > > then, after this, the document is indexed.
> > >
> > > - Scan module: We fill the text fields with the required 
> > > information, then we press the scan button and then, the image is 
> > > scanned and is showed in the viewer, then we finish the document.
> > >
> > > In both modules are possible to import or scan more than one file 
> > > or
> > image.
> > > We need Jmeter to do this, to upload more than one file at the 
> > > same
> time.
> > >
> > > Our application records the log report, but when we try to check 
> > > if the action occurred, there's no log about what has been done.
> > >
> > > Do you know who can help us to solve this problem?
> > >
> > > Since now, thanks for your help.
> > >
> > > I look forward to hearing from you.
> > >
> > > Best regards,
> > >
> > > Carolina
> > >
> > >
> > > ------------------------------------------------------------------
> > > --
> > > - To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > > For additional commands, e-mail: user-help@jmeter.apache.org
> > >
> > >
> >
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > For additional commands, e-mail: user-help@jmeter.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: Help using Jmeter to upload files

Posted by Daniel Corredor <da...@gmail.com>.
Hi Carolina,

Maybe try to record in Badboy and replay that way. Other way to test web
services is using  some Unix commands and write an script.

Let me know if you need any more help.

Sorry I could not help more but this questions are challenging.

Dan


On Tue, Dec 4, 2012 at 8:35 AM, Carolina Marques <
carolina.marques@smlinfo.com.br> wrote:

> Hi Daniel,
>
> Thanks for your response. I think Jmeter doesn't do what we need. We did a
> lot of research, but we found nothing and no one knows how to help us to do
> this.
>
> The application is running through web services.
>
> Thanks for your help for now.
>
> Best regards,
>
> Carolina
>
> -----Mensagem original-----
> De: Daniel Corredor [mailto:dannux@gmail.com]
> Enviada em: terça-feira, 4 de dezembro de 2012 11:04
> Para: JMeter Users List
> Assunto: Re: Help using Jmeter to upload files
>
> Hi Carolina,
>
> Two scenarios:
>
> 1- I have read (feed) from static files. Not sure is that will be an option
> for you.
> 2- Once I had to upload a chemical structure file. I was unable to do that
> at the beginning but later after sniffing the whole transaction I was able
> to understand how the application decodes  the "special" file.
>
> How are you guys recording the test? How are you understanding "sniffing"
> the whole interaction from your application?
>
> Good luck,
> Dan
>
>
>
> On Mon, Dec 3, 2012 at 8:46 AM, Carolina Marques <
> carolina.marques@smlinfo.com.br> wrote:
>
> > Hi Daniel,
> >
> > We are trying to upload any kind of file, since images, then txt
> > files, doc, audio files, video files, of different sizes.
> >
> > We did the Jmeter calls through the link of the document we want to view.
> > We
> > have into the environment a security service running too.
> >
> > We did all the analysis and this is still not working.
> >
> > Thanks a lot for your return and I hope you can help us, because we
> > really need this.
> >
> > Best regards,
> >
> > Carolina
> >
> > -----Mensagem original-----
> > De: Daniel Corredor [mailto:dannux@gmail.com] Enviada em:
> > segunda-feira, 3 de dezembro de 2012 11:40
> > Para: JMeter Users List
> > Assunto: Re: Help using Jmeter to upload files
> >
> > Hi Carlina,
> >
> > Did you analyze how the information is embedded in the application
> > once is uploaded?
> >
> > What kind of file are you trying to upload? Is it a txt file or an
> > special type?
> >
> >
> > Thanks,
> > Dan
> >
> >
> >
> > On Fri, Nov 30, 2012 at 8:03 AM, Carolina Marques <
> > carolina.marques@smlinfo.com.br> wrote:
> >
> > > Hi Jmeter team,
> > >
> > > We are having some troubles when we try to set the configuration to
> > > upload a file through Jmeter. It is an ECM web application and is to
> > > save, manage and store many kind of documents and all these actions
> > > require lots of mouse clicks. The main application module is to
> > > import documents and to scan documents from a scanner connected to
> > > the computer and store this. But when we try to configure these
> > > modules into Jmeter, it is not working.
> > >
> > > The application works this way:
> > >
> > > - Import module: We fill the text fields with the required
> > > information, then, we press the selection button and an selection
> > > window is opened to select the file on the path chosen. After this
> > > the file is carried into the document that is being created and
> > > then, after this, the document is indexed.
> > >
> > > - Scan module: We fill the text fields with the required
> > > information, then we press the scan button and then, the image is
> > > scanned and is showed in the viewer, then we finish the document.
> > >
> > > In both modules are possible to import or scan more than one file or
> > image.
> > > We need Jmeter to do this, to upload more than one file at the same
> time.
> > >
> > > Our application records the log report, but when we try to check if
> > > the action occurred, there's no log about what has been done.
> > >
> > > Do you know who can help us to solve this problem?
> > >
> > > Since now, thanks for your help.
> > >
> > > I look forward to hearing from you.
> > >
> > > Best regards,
> > >
> > > Carolina
> > >
> > >
> > > --------------------------------------------------------------------
> > > - To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > > For additional commands, e-mail: user-help@jmeter.apache.org
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > For additional commands, e-mail: user-help@jmeter.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

RES: Help using Jmeter to upload files

Posted by Carolina Marques <ca...@smlinfo.com.br>.
Hi Adrian,

I'll try to do it.

Thanks for your help.

Best regards,

Carolina

-----Mensagem original-----
De: Adrian Speteanu [mailto:asp.adieu@gmail.com] 
Enviada em: terça-feira, 4 de dezembro de 2012 12:41
Para: JMeter Users List
Assunto: Re: Help using Jmeter to upload files

Hi,

JMeter can test webservers (load/functional) using the common protocols on the internet, most commonly used being HTTP. So if the app you're referring to uses a method supported by JMeter, then YES you can use it to test your application (your use case seems simple enough). To get a proper answer, you have to understand how JMeter works and give us the proper information to understand the issue.

For example in HTTP, you have to do a multi-part POST in order to send multiple files in a single request. This usecase is supported by JMeter, I use it on a constant basis and for tests that require dynamic files to be sent, JMeter has became more flexible in the latest version, 2.8. But this doesn't mean it won't be quite an effort to implement a large scale test for this use-case. This should cover the application part of the problem, unless you want to use the app's UI to make that test, in which case it won't work, its not made for those kind of tests.

For the scan part, again you have to know what the application does in the background. Scanning gives you a file, most probably, that is later sent just like a normal file, so the test doesn't change that much - you just have to figure out what's the format of those files and how to randomise them during actual tests to obtain reliable results. If it uses different protocols to send the information directly than those supported, then the problem changes. But again, you have to know the specifics of how that is accomplish in order to test this properly (refer to previous answers for details).

--Adrian

On Tue, Dec 4, 2012 at 3:35 PM, Carolina Marques < carolina.marques@smlinfo.com.br> wrote:

> Hi Daniel,
>
> Thanks for your response. I think Jmeter doesn't do what we need. We 
> did a lot of research, but we found nothing and no one knows how to 
> help us to do this.
>
> The application is running through web services.
>
> Thanks for your help for now.
>
> Best regards,
>
> Carolina
>
> -----Mensagem original-----
> De: Daniel Corredor [mailto:dannux@gmail.com] Enviada em: terça-feira, 
> 4 de dezembro de 2012 11:04
> Para: JMeter Users List
> Assunto: Re: Help using Jmeter to upload files
>
> Hi Carolina,
>
> Two scenarios:
>
> 1- I have read (feed) from static files. Not sure is that will be an 
> option for you.
> 2- Once I had to upload a chemical structure file. I was unable to do 
> that at the beginning but later after sniffing the whole transaction I 
> was able to understand how the application decodes  the "special" file.
>
> How are you guys recording the test? How are you understanding "sniffing"
> the whole interaction from your application?
>
> Good luck,
> Dan
>
>
>
> On Mon, Dec 3, 2012 at 8:46 AM, Carolina Marques < 
> carolina.marques@smlinfo.com.br> wrote:
>
> > Hi Daniel,
> >
> > We are trying to upload any kind of file, since images, then txt 
> > files, doc, audio files, video files, of different sizes.
> >
> > We did the Jmeter calls through the link of the document we want to view.
> > We
> > have into the environment a security service running too.
> >
> > We did all the analysis and this is still not working.
> >
> > Thanks a lot for your return and I hope you can help us, because we 
> > really need this.
> >
> > Best regards,
> >
> > Carolina
> >
> > -----Mensagem original-----
> > De: Daniel Corredor [mailto:dannux@gmail.com] Enviada em:
> > segunda-feira, 3 de dezembro de 2012 11:40
> > Para: JMeter Users List
> > Assunto: Re: Help using Jmeter to upload files
> >
> > Hi Carlina,
> >
> > Did you analyze how the information is embedded in the application 
> > once is uploaded?
> >
> > What kind of file are you trying to upload? Is it a txt file or an 
> > special type?
> >
> >
> > Thanks,
> > Dan
> >
> >
> >
> > On Fri, Nov 30, 2012 at 8:03 AM, Carolina Marques < 
> > carolina.marques@smlinfo.com.br> wrote:
> >
> > > Hi Jmeter team,
> > >
> > > We are having some troubles when we try to set the configuration 
> > > to upload a file through Jmeter. It is an ECM web application and 
> > > is to save, manage and store many kind of documents and all these 
> > > actions require lots of mouse clicks. The main application module 
> > > is to import documents and to scan documents from a scanner 
> > > connected to the computer and store this. But when we try to 
> > > configure these modules into Jmeter, it is not working.
> > >
> > > The application works this way:
> > >
> > > - Import module: We fill the text fields with the required 
> > > information, then, we press the selection button and an selection 
> > > window is opened to select the file on the path chosen. After this 
> > > the file is carried into the document that is being created and 
> > > then, after this, the document is indexed.
> > >
> > > - Scan module: We fill the text fields with the required 
> > > information, then we press the scan button and then, the image is 
> > > scanned and is showed in the viewer, then we finish the document.
> > >
> > > In both modules are possible to import or scan more than one file 
> > > or
> > image.
> > > We need Jmeter to do this, to upload more than one file at the 
> > > same
> time.
> > >
> > > Our application records the log report, but when we try to check 
> > > if the action occurred, there's no log about what has been done.
> > >
> > > Do you know who can help us to solve this problem?
> > >
> > > Since now, thanks for your help.
> > >
> > > I look forward to hearing from you.
> > >
> > > Best regards,
> > >
> > > Carolina
> > >
> > >
> > > ------------------------------------------------------------------
> > > --
> > > - To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > > For additional commands, e-mail: user-help@jmeter.apache.org
> > >
> > >
> >
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > For additional commands, e-mail: user-help@jmeter.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: Help using Jmeter to upload files

Posted by Adrian Speteanu <as...@gmail.com>.
Hi,

JMeter can test webservers (load/functional) using the common protocols on
the internet, most commonly used being HTTP. So if the app you're referring
to uses a method supported by JMeter, then YES you can use it to test your
application (your use case seems simple enough). To get a proper answer,
you have to understand how JMeter works and give us the proper information
to understand the issue.

For example in HTTP, you have to do a multi-part POST in order to send
multiple files in a single request. This usecase is supported by JMeter, I
use it on a constant basis and for tests that require dynamic files to be
sent, JMeter has became more flexible in the latest version, 2.8. But this
doesn't mean it won't be quite an effort to implement a large scale test
for this use-case. This should cover the application part of the problem,
unless you want to use the app's UI to make that test, in which case it
won't work, its not made for those kind of tests.

For the scan part, again you have to know what the application does in the
background. Scanning gives you a file, most probably, that is later sent
just like a normal file, so the test doesn't change that much - you just
have to figure out what's the format of those files and how to randomise
them during actual tests to obtain reliable results. If it uses different
protocols to send the information directly than those supported, then the
problem changes. But again, you have to know the specifics of how that is
accomplish in order to test this properly (refer to previous answers for
details).

--Adrian

On Tue, Dec 4, 2012 at 3:35 PM, Carolina Marques <
carolina.marques@smlinfo.com.br> wrote:

> Hi Daniel,
>
> Thanks for your response. I think Jmeter doesn't do what we need. We did a
> lot of research, but we found nothing and no one knows how to help us to do
> this.
>
> The application is running through web services.
>
> Thanks for your help for now.
>
> Best regards,
>
> Carolina
>
> -----Mensagem original-----
> De: Daniel Corredor [mailto:dannux@gmail.com]
> Enviada em: terça-feira, 4 de dezembro de 2012 11:04
> Para: JMeter Users List
> Assunto: Re: Help using Jmeter to upload files
>
> Hi Carolina,
>
> Two scenarios:
>
> 1- I have read (feed) from static files. Not sure is that will be an option
> for you.
> 2- Once I had to upload a chemical structure file. I was unable to do that
> at the beginning but later after sniffing the whole transaction I was able
> to understand how the application decodes  the "special" file.
>
> How are you guys recording the test? How are you understanding "sniffing"
> the whole interaction from your application?
>
> Good luck,
> Dan
>
>
>
> On Mon, Dec 3, 2012 at 8:46 AM, Carolina Marques <
> carolina.marques@smlinfo.com.br> wrote:
>
> > Hi Daniel,
> >
> > We are trying to upload any kind of file, since images, then txt
> > files, doc, audio files, video files, of different sizes.
> >
> > We did the Jmeter calls through the link of the document we want to view.
> > We
> > have into the environment a security service running too.
> >
> > We did all the analysis and this is still not working.
> >
> > Thanks a lot for your return and I hope you can help us, because we
> > really need this.
> >
> > Best regards,
> >
> > Carolina
> >
> > -----Mensagem original-----
> > De: Daniel Corredor [mailto:dannux@gmail.com] Enviada em:
> > segunda-feira, 3 de dezembro de 2012 11:40
> > Para: JMeter Users List
> > Assunto: Re: Help using Jmeter to upload files
> >
> > Hi Carlina,
> >
> > Did you analyze how the information is embedded in the application
> > once is uploaded?
> >
> > What kind of file are you trying to upload? Is it a txt file or an
> > special type?
> >
> >
> > Thanks,
> > Dan
> >
> >
> >
> > On Fri, Nov 30, 2012 at 8:03 AM, Carolina Marques <
> > carolina.marques@smlinfo.com.br> wrote:
> >
> > > Hi Jmeter team,
> > >
> > > We are having some troubles when we try to set the configuration to
> > > upload a file through Jmeter. It is an ECM web application and is to
> > > save, manage and store many kind of documents and all these actions
> > > require lots of mouse clicks. The main application module is to
> > > import documents and to scan documents from a scanner connected to
> > > the computer and store this. But when we try to configure these
> > > modules into Jmeter, it is not working.
> > >
> > > The application works this way:
> > >
> > > - Import module: We fill the text fields with the required
> > > information, then, we press the selection button and an selection
> > > window is opened to select the file on the path chosen. After this
> > > the file is carried into the document that is being created and
> > > then, after this, the document is indexed.
> > >
> > > - Scan module: We fill the text fields with the required
> > > information, then we press the scan button and then, the image is
> > > scanned and is showed in the viewer, then we finish the document.
> > >
> > > In both modules are possible to import or scan more than one file or
> > image.
> > > We need Jmeter to do this, to upload more than one file at the same
> time.
> > >
> > > Our application records the log report, but when we try to check if
> > > the action occurred, there's no log about what has been done.
> > >
> > > Do you know who can help us to solve this problem?
> > >
> > > Since now, thanks for your help.
> > >
> > > I look forward to hearing from you.
> > >
> > > Best regards,
> > >
> > > Carolina
> > >
> > >
> > > --------------------------------------------------------------------
> > > - To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > > For additional commands, e-mail: user-help@jmeter.apache.org
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > For additional commands, e-mail: user-help@jmeter.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

RES: Help using Jmeter to upload files

Posted by Carolina Marques <ca...@smlinfo.com.br>.
Hi Daniel,

Thanks for your response. I think Jmeter doesn't do what we need. We did a
lot of research, but we found nothing and no one knows how to help us to do
this.

The application is running through web services.

Thanks for your help for now.

Best regards,

Carolina

-----Mensagem original-----
De: Daniel Corredor [mailto:dannux@gmail.com] 
Enviada em: terça-feira, 4 de dezembro de 2012 11:04
Para: JMeter Users List
Assunto: Re: Help using Jmeter to upload files

Hi Carolina,

Two scenarios:

1- I have read (feed) from static files. Not sure is that will be an option
for you.
2- Once I had to upload a chemical structure file. I was unable to do that
at the beginning but later after sniffing the whole transaction I was able
to understand how the application decodes  the "special" file.

How are you guys recording the test? How are you understanding "sniffing"
the whole interaction from your application?

Good luck,
Dan



On Mon, Dec 3, 2012 at 8:46 AM, Carolina Marques <
carolina.marques@smlinfo.com.br> wrote:

> Hi Daniel,
>
> We are trying to upload any kind of file, since images, then txt 
> files, doc, audio files, video files, of different sizes.
>
> We did the Jmeter calls through the link of the document we want to view.
> We
> have into the environment a security service running too.
>
> We did all the analysis and this is still not working.
>
> Thanks a lot for your return and I hope you can help us, because we 
> really need this.
>
> Best regards,
>
> Carolina
>
> -----Mensagem original-----
> De: Daniel Corredor [mailto:dannux@gmail.com] Enviada em: 
> segunda-feira, 3 de dezembro de 2012 11:40
> Para: JMeter Users List
> Assunto: Re: Help using Jmeter to upload files
>
> Hi Carlina,
>
> Did you analyze how the information is embedded in the application 
> once is uploaded?
>
> What kind of file are you trying to upload? Is it a txt file or an 
> special type?
>
>
> Thanks,
> Dan
>
>
>
> On Fri, Nov 30, 2012 at 8:03 AM, Carolina Marques < 
> carolina.marques@smlinfo.com.br> wrote:
>
> > Hi Jmeter team,
> >
> > We are having some troubles when we try to set the configuration to 
> > upload a file through Jmeter. It is an ECM web application and is to 
> > save, manage and store many kind of documents and all these actions 
> > require lots of mouse clicks. The main application module is to 
> > import documents and to scan documents from a scanner connected to 
> > the computer and store this. But when we try to configure these 
> > modules into Jmeter, it is not working.
> >
> > The application works this way:
> >
> > - Import module: We fill the text fields with the required 
> > information, then, we press the selection button and an selection 
> > window is opened to select the file on the path chosen. After this 
> > the file is carried into the document that is being created and 
> > then, after this, the document is indexed.
> >
> > - Scan module: We fill the text fields with the required 
> > information, then we press the scan button and then, the image is 
> > scanned and is showed in the viewer, then we finish the document.
> >
> > In both modules are possible to import or scan more than one file or
> image.
> > We need Jmeter to do this, to upload more than one file at the same
time.
> >
> > Our application records the log report, but when we try to check if 
> > the action occurred, there's no log about what has been done.
> >
> > Do you know who can help us to solve this problem?
> >
> > Since now, thanks for your help.
> >
> > I look forward to hearing from you.
> >
> > Best regards,
> >
> > Carolina
> >
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > For additional commands, e-mail: user-help@jmeter.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Re: Help using Jmeter to upload files

Posted by Daniel Corredor <da...@gmail.com>.
Hi Carolina,

Two scenarios:

1- I have read (feed) from static files. Not sure is that will be an option
for you.
2- Once I had to upload a chemical structure file. I was unable to do that
at the beginning but later after sniffing the whole transaction I was able
to understand how the application decodes  the "special" file.

How are you guys recording the test? How are you understanding "sniffing"
the whole interaction from your application?

Good luck,
Dan



On Mon, Dec 3, 2012 at 8:46 AM, Carolina Marques <
carolina.marques@smlinfo.com.br> wrote:

> Hi Daniel,
>
> We are trying to upload any kind of file, since images, then txt files,
> doc,
> audio files, video files, of different sizes.
>
> We did the Jmeter calls through the link of the document we want to view.
> We
> have into the environment a security service running too.
>
> We did all the analysis and this is still not working.
>
> Thanks a lot for your return and I hope you can help us, because we really
> need this.
>
> Best regards,
>
> Carolina
>
> -----Mensagem original-----
> De: Daniel Corredor [mailto:dannux@gmail.com]
> Enviada em: segunda-feira, 3 de dezembro de 2012 11:40
> Para: JMeter Users List
> Assunto: Re: Help using Jmeter to upload files
>
> Hi Carlina,
>
> Did you analyze how the information is embedded in the application once is
> uploaded?
>
> What kind of file are you trying to upload? Is it a txt file or an special
> type?
>
>
> Thanks,
> Dan
>
>
>
> On Fri, Nov 30, 2012 at 8:03 AM, Carolina Marques <
> carolina.marques@smlinfo.com.br> wrote:
>
> > Hi Jmeter team,
> >
> > We are having some troubles when we try to set the configuration to
> > upload a file through Jmeter. It is an ECM web application and is to
> > save, manage and store many kind of documents and all these actions
> > require lots of mouse clicks. The main application module is to import
> > documents and to scan documents from a scanner connected to the
> > computer and store this. But when we try to configure these modules
> > into Jmeter, it is not working.
> >
> > The application works this way:
> >
> > - Import module: We fill the text fields with the required
> > information, then, we press the selection button and an selection
> > window is opened to select the file on the path chosen. After this the
> > file is carried into the document that is being created and then,
> > after this, the document is indexed.
> >
> > - Scan module: We fill the text fields with the required information,
> > then we press the scan button and then, the image is scanned and is
> > showed in the viewer, then we finish the document.
> >
> > In both modules are possible to import or scan more than one file or
> image.
> > We need Jmeter to do this, to upload more than one file at the same time.
> >
> > Our application records the log report, but when we try to check if
> > the action occurred, there's no log about what has been done.
> >
> > Do you know who can help us to solve this problem?
> >
> > Since now, thanks for your help.
> >
> > I look forward to hearing from you.
> >
> > Best regards,
> >
> > Carolina
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> > For additional commands, e-mail: user-help@jmeter.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>

RES: Help using Jmeter to upload files

Posted by Carolina Marques <ca...@smlinfo.com.br>.
Hi Daniel,

We are trying to upload any kind of file, since images, then txt files, doc,
audio files, video files, of different sizes.

We did the Jmeter calls through the link of the document we want to view. We
have into the environment a security service running too.

We did all the analysis and this is still not working.

Thanks a lot for your return and I hope you can help us, because we really
need this.

Best regards,

Carolina

-----Mensagem original-----
De: Daniel Corredor [mailto:dannux@gmail.com] 
Enviada em: segunda-feira, 3 de dezembro de 2012 11:40
Para: JMeter Users List
Assunto: Re: Help using Jmeter to upload files

Hi Carlina,

Did you analyze how the information is embedded in the application once is
uploaded?

What kind of file are you trying to upload? Is it a txt file or an special
type?


Thanks,
Dan



On Fri, Nov 30, 2012 at 8:03 AM, Carolina Marques <
carolina.marques@smlinfo.com.br> wrote:

> Hi Jmeter team,
>
> We are having some troubles when we try to set the configuration to 
> upload a file through Jmeter. It is an ECM web application and is to 
> save, manage and store many kind of documents and all these actions 
> require lots of mouse clicks. The main application module is to import 
> documents and to scan documents from a scanner connected to the 
> computer and store this. But when we try to configure these modules 
> into Jmeter, it is not working.
>
> The application works this way:
>
> - Import module: We fill the text fields with the required 
> information, then, we press the selection button and an selection 
> window is opened to select the file on the path chosen. After this the 
> file is carried into the document that is being created and then, 
> after this, the document is indexed.
>
> - Scan module: We fill the text fields with the required information, 
> then we press the scan button and then, the image is scanned and is 
> showed in the viewer, then we finish the document.
>
> In both modules are possible to import or scan more than one file or
image.
> We need Jmeter to do this, to upload more than one file at the same time.
>
> Our application records the log report, but when we try to check if 
> the action occurred, there's no log about what has been done.
>
> Do you know who can help us to solve this problem?
>
> Since now, thanks for your help.
>
> I look forward to hearing from you.
>
> Best regards,
>
> Carolina
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
> For additional commands, e-mail: user-help@jmeter.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org