Sure. Try adding a Post Processor to the sampler. You can probably get at
what you want with wither a regex extractor or a BeanShell post processor.
Set a variable with your ID value and then reference that variable in your
next HTTP request.

Hope that helps.

Mark

On Mon, Dec 14, 2009 at 9:47 AM, Babak Shafian <[email protected]> wrote:

>
> Hi all,
>
> I get the following response data for my first HTTP request:
>
>    "item_id": "4573815200912140050",
>    "channel_id": "Vox",
>    "title": "James Bond",
>    "genre": [{"name": "Action"}]
>
> I want to extract the value of item_id (above number) to use it in the path
> of the second HTTP request like that:
>
> Path: /SemanticEngine/programs/item_id
>
> Is there any possibility in JMeter to do it??
>
> Thanks in advance!
> Babak
>
>
>
>
>
>
> _________________________________________________________________
> Windows Live: Make it easier for your friends to see what you’re up to on
> Facebook.
>
> http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009

Reply via email to