Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8798567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T00:07:33+00:00 2026-06-14T00:07:33+00:00

I have a JMeter Regular Expression Extractor which searches for the following regular expression:

  • 0

I have a JMeter Regular Expression Extractor which searches for the following regular expression:

myId=[0-9]{10}

This retrieves the 10 digit numeric id number from my websites form. I then set a “Reference Name” of myId for the id number. My template value is $0$ and my match No. is set to blank.

In my HTTP Request, I then pass a parameter value of:

${myId}

When I run my JMeter test, it inserts text in the form of:

myId=myId=1234567890

How do I get rid of the duplicate myId=?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T00:07:34+00:00Added an answer on June 14, 2026 at 12:07 am

    Not sure about JMeter’s implementation of RegEx but normally

    myId=[0-9]{10}
    

    would match everything, including myId=. What you need is to define capture groups that you want extracted using () and then you will reference the capture group array and get the item you want. E.g.

    myId=([0-9]{10})
    

    group 0 would still be the whole thing but group 1 would be just the numeric portion as delimited by (), i.e. without myId=. Hope this helps.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have jmeter flow like this: ThreadGroup --Sampler to get the number of items
I have this regular expression: name=\javax.faces.FormSignature\ value=(.+?) that will extract the value I need
I have a JMeter test plan with following http request samplers. Login Call some
have written this little class, which generates a UUID every time an object of
I have trouble using SSL pages with JMeter, which I previously posted here .
Using jmeter, I have a variable passed from CSV file (using CSV Data Set
I have the following scenario to emulate in jMeter: 100 users logging in once
I have done some tests in jmeter which produces an xml report in the
Running Jmeter on XP, I have the following scenario: Declare the variable ServerName with
I marked one peculiar thing in regular expression in jmeter: My aim is to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.