jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Speteanu <asp.ad...@gmail.com>
Subject Re: Help using Jmeter to upload files
Date Tue, 04 Dec 2012 14:41:27 GMT
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
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message