jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Deepak Shetty <>
Subject Re: HTTPS AS2 (EDIINT) Testing
Date Fri, 03 Jun 2016 17:34:30 GMT
>but the client has to encode the message in such way that will be packaged
as an AS2 message
Ok. Atleast according to it seems to be
nothing more than an EDI file that is transferred using the HTTPS and an
S/Mime message -
from the sample looks ok (If your
question is how to get the EDI transaction data , then thats a different
question , for which you should already have samples.

POST /receive HTTP/1.0
   User-Agent: AS2 Company Server
   Date: Wed, 31 Jul 2002 13:34:50 GMT
   AS2-Version: 1.1
   AS2-From: "\"  as2Name  \""
   AS2-To: 0123456780000
   Subject: Test Case
   Message-Id: <200207310834482A70BF63@\"~~foo~~\">
   Disposition-Notification-Options: signed-receipt-protocol=optional,
     pkcs7-signature; signed-receipt-micalg=optional,sha1
   Content-Type: multipart/signed; boundary="as2BouNdary1as2";
     protocol="application/pkcs7-signature"; micalg=sha1
   Content-Length: 2464

   Content-Type: application/edi-x12
   Content-Disposition: Attachment; filename=rfc1767.dat
     [ISA ...EDI transaction data...IEA...]

   Content-Type: application/pkcs7-signature

     [omitted binary pkcs7 signature data]

As far as I can tell you have 2 options
a. Look for an API - a quick google search only showed commercial
offerings. The open source offering does not allow the API to be used ( or is full fledged server(Open
AS2) - or really study the Open AS2 code or port some of the other
offerings like  - As far
as I can tell this would need significant effort and time.

b. If you have a working system , then use tunnels/proxies/wireshark
whatever to inspect the message and replicate that in JMeter - i.e. track
all the messages your are receiving and just replay those in JMeter (if you
arent signing or encrypting , then it should even be possible to
parameterise it)

On Fri, Jun 3, 2016 at 7:48 AM, Murilo Alves <> wrote:

> Thanks Deepak,
> The thing with AS2 is that HTTPS is just the transport layer , you can do
> AS2 thru HTTPS/FTPS/SFTP, but the client has to encode the message in such
> way that will be packaged as an AS2 message and the receiver partner will
> unpack that.
> About the receipts (MDN) that is indeed something I may not be able to get
> done thru JMETER, but for the test purposes I could go with asynchronous
> approach (no MDN/receipt).
> On Thu, Jun 2, 2016 at 5:36 PM, Deepak Shetty <> wrote:
> > Hi
> > no experience with it - but anything over HTTP(S) should in theory be
> > testable by JMeter.
> > There is some additional stuff in the EDI spec with respect to receipts
> > that might be more difficult to test - perhaps if you detail what you are
> > trying to test or where you are stuck someone could provide a better
> answer
> >
> > regards
> > deepak
> >
> > On Thu, Jun 2, 2016 at 9:30 AM, Murilo Alves <>
> > wrote:
> >
> > > Guys
> > > Anyone here has ever done a testing using JMETER against a HTTPS AS2
> > > (EDIINT) server?
> > >
> >

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