Am 12. April 2015 00:37:58 MESZ, schrieb Vikas Bajaj 
<[email protected]>:
>HI Team,
>I am using Jmeter for one of my project deliverable and today is  a
>critical release for one of the functionality. I need some assistance
>for one of the correlation.
>I have a flow where users are playing back a video . i have a request
>from which i need to capture the resposne but it contains 4 same types
>of values and i need the last occurrence. Let me explain with my
>request.
>first Request hit to the server and got the below response:Response
>#EXTM3U#EXT-X-VERSION:2#EXT-X-TARGETDURATION:11#EXT-X-MEDIA-SEQUENCE:17632#EXTINF:10,17632:PTS=96855955920150326T112435-01-17632live.ts#EXTINF:10,17633:PTS=96946045920150326T112435-01-17633live.ts#EXTINF:10,17634:PTS=97036135920150326T112435-01-17634live.ts#EXTINF:10,17635:PTS=97126225920150326T112435-01-17635live.ts
>
>i need to use  one of the live.ts capture in my  subsequent request
>like 17635live.ts ( there are 4  live.ts captures and i need to use the
>last one - 17635live.ts). when i am trying to correlate using  below
>Regex  , i am getting  a unexpected response.
>2. when i try to replace the correlated parameter in my third request
>it comes back with below .
>Regular expression: 20150326T112435-01-([^"]+).ts

Why do you use [^"] as character class for matching? Is the input you showed 
embedded in something bigger?

You might want to tighten the character class to use only numbers and alphabet 
characters with [A-Za-z0-9]. That way the regex will not capture '-'.

If you know the end character (" for example) or the data ends after the .ts 
you can use the character or the special ending character $ at the end of your 
regex making it 

20150326T112435-01-([a-zA-Z0-9]+).ts"

Regards
Felix 

>
>Request:
>http://che.dev-charter.net:8081/nbcu_58780/58780_cnbchd/20150326T112435-01-${ID}?I=802abde0-d7fd-11e4-8548-020662da2b67&K=4&E=1427866050&A=209.140.48.19&H=4afbb18ca6e7bfa12048b0ea94e271bf1e6651e1
>
>Resposne:
>java.net.URISyntaxException: Illegal character in path at index 87:
>http://che.dev-charter.net:8081/nbcu_58780/58780_cnbchd/20150326T112435-01-17632live.ts#EXTINF:10,17633:PTS=96946045920150326T112435-01-17633live.ts#EXTINF:10,17634:PTS=97036135920150326T112435-01-17634live.ts#EXTINF:10,17635:PTS=97126225920150326T112435-01-17635live?I=802abde0-d7fd-11e4-8548-020662da2b67&K=4&E=1427866050&A=209.140.48.19&H=4afbb18ca6e7bfa12048b0ea94e271bf1e6651e1
>
>
>i need to delver my script today, can i get some  help from gurus.
>ThanksVikas bajaj
>
>On Saturday, April 11, 2015 4:14 PM, "[email protected]"
><[email protected]> wrote:
>   
>
> Hi! This is the ezmlm program. I'm managing the
>[email protected] mailing list.
>
>I'm working for my owner, who can be reached
>at [email protected].
>
>Acknowledgment: I have added the address
>
>  [email protected]
>
>to the user mailing list.
>
>Welcome to [email protected]!
>
>Please save this message so that you know the address you are
>subscribed under, in case you later want to unsubscribe or change your
>subscription address.
>
>
>--- Administrative commands for the user list ---
>
>I can handle administrative requests automatically. Please
>do not send them to the list address! Instead, send
>your message to the correct command address:
>
>To subscribe to the list, send a message to:
>  <[email protected]>
>
>To remove your address from the list, send a message to:
>  <[email protected]>
>
>Send mail to the following for info and FAQ for this list:
>  <[email protected]>
>  <[email protected]>
>
>Similar addresses exist for the digest list:
>  <[email protected]>
>  <[email protected]>
>
>To get messages 123 through 145 (a maximum of 100 per request), mail:
>  <[email protected]>
>
>To get an index with subject and author for messages 123-456 , mail:
>  <[email protected]>
>
>They are always returned as sets of 100, max 2000 per request,
>so you'll actually get 100-499.
>
>To receive all messages with the same subject as message 12345,
>send a short message to:
>  <[email protected]>
>
>The messages should contain one line or word of text to avoid being
>treated as sp@m, but I will ignore their content.
>Only the ADDRESS you send to is important.
>
>You can start a subscription for an alternate address,
>for example "[email protected]", just add a hyphen and your
>address (with '=' instead of '@') after the command word:
><[email protected]>
>
>To stop subscription for this address, mail:
><[email protected]>
>
>In both cases, I'll send a confirmation message to that address. When
>you receive it, simply reply to it to complete your subscription.
>
>If despite following these instructions, you do not get the
>desired results, please contact my owner at
>[email protected]. Please be patient, my owner is a
>lot slower than I am ;-)
>
>--- Enclosed is a copy of the request I received.
>
>Return-Path: <[email protected]>
>Received: (qmail 13140 invoked by uid 99); 11 Apr 2015 22:14:41 -0000
>Received: from athena.apache.org (HELO athena.apache.org)
>(140.211.11.136)
>    by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Apr 2015 22:14:41
>+0000
>X-ASF-Spam-Status: No, hits=3.7 required=5.0
>   
>tests=FORGED_YAHOO_RCVD,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_REPLYTO_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS
>X-Spam-Check-By: apache.org
>Received-SPF: pass (athena.apache.org: domain of [email protected]
>designates 98.138.229.55 as permitted sender)
>Received: from [98.138.229.55] (HELO
>nm32-vm7.bullet.mail.ne1.yahoo.com) (98.138.229.55)
>    by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Apr 2015 22:14:34
>+0000
>DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com;
>s=s2048; t=1428790453; bh=gjK3OwKQAFnJNBca8GSLluwj09qk7paJBx9Zs8Nwdxk=;
>h=Date:From:Reply-To:To:In-Reply-To:References:Subject:From:Subject;
>b=rz92oclCCs/KGlvEZxtRdVveCMRLnIzu9PsBsNJlHi4nAE9tpSna7LYndhHgyFUnYDx56TNeTmTsVGGvykaoHCcpNNnqb+qkGvH0g3SWTY84da6Ha1OnhtRth0dicIOuyM2Zrfo1wFXwftY0N+dd9rry673WfkixC10/eVp/c+a6kIU/gJf/Q2BwOzy+AA823nMTRozmY7gvHnueOKRCpvF6dqelBKi0Yw1T1OoAk9nTDjXgUmwWCaGvQQAYdKznl6OZXGmGf9vZCm33z20KiJGeBYg+rlh7MULjjt+8McXkYTQXqvDvprFSXAhypvec87KoeLKWCVkph2OqPXf0Og==
>Received: from [127.0.0.1] by nm32.bullet.mail.ne1.yahoo.com with
>NNFMP; 11 Apr 2015 22:14:13 -0000
>Received: from [98.138.100.114] by nm32.bullet.mail.ne1.yahoo.com with
>NNFMP; 11 Apr 2015 22:11:30 -0000
>Received: from [98.138.88.237] by tm105.bullet.mail.ne1.yahoo.com with
>NNFMP; 11 Apr 2015 22:11:30 -0000
>Received: from [127.0.0.1] by omp1037.mail.ne1.yahoo.com with NNFMP; 11
>Apr 2015 22:11:30 -0000
>X-Yahoo-Newman-Property: ymail-4
>X-Yahoo-Newman-Id: [email protected]
>X-YMail-OSG:
>q1P4QWsVM1kxwlF5Igl7gMIKLcFVGkVxTZBTlJVRRQ0xTTLCWUMPZv6oCslxro8
>0.LnrIqEZvVbai25tG5Rj8niJPBOd340Hki71KBAH1WWLEklin6YK11yvnATEhT1_J8ZQOPUB9y_
>dr9eOhUAOAo1Wkz5BW1DyGQxyyoQ6KaMVe0SmI3C4MDqwWQToXTEytYlLohbkSAAMUip3IsnEzlk
>0uvN8Aytc4bZiySAjbdU9AM0gRZtjdpcbAnPvoirwJ2NorOyrvpWpQDsXJz9u0T1XycwYB1o66ud
>UZve4b.eGcABEo6qWQgsvgjbrfRpsU9uzzvguaHvWQ.lgHgkOg413OGLiCHeEZ8Mbszhh_X4EEkj
>iLiPvtBH4JaB6PhK_QjiwfNqXXLHgHsdeI8FIYj2WGujUN0ZBqByBUjYc6TM4ImJBVgf.q3.kkz.
>mFKQMfmyM9bjgKC5wOf00EMjoaupRi6fSzit7MG7JUFOAxO6P2myw2eePtnbhMis9DGzF0zqC2RV
> DgAXbicAju_xMCcR2g3e4O1ux1dQ-
>Received: by 98.138.105.249; Sat, 11 Apr 2015 22:11:29 +0000 
>Date: Sat, 11 Apr 2015 22:11:29 +0000 (UTC)
>From: Vikas Bajaj <[email protected]>
>Reply-To: Vikas Bajaj <[email protected]>
>To: 
>   
>"user-sc.1428789778.mokoiigbjnedcgebmpom-vikas8718=yahoo....@jmeter.apache.org"
><user-sc.1428789778.mokoiigbjnedcgebmpom-vikas8718=yahoo....@jmeter.apache.org>
>Message-ID:
><[email protected]>
>In-Reply-To: <[email protected]>
>References: <[email protected]>
>Subject: Re: confirm subscribe to [email protected]
>MIME-Version: 1.0
>Content-Type: multipart/alternative; 
>    boundary="----=_Part_1005010_788422909.1428790289214"
>X-Virus-Checked: Checked by ClamAV on apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to