JMETER a ${__RandomString function that is used for creating email addresses - - - - Questions Developer Jobs Documentation beta Tags Users current community help chat Meta your communities Sign up or log in to customize your list. more stack exchange communities company blog Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about the company Business Learn more about hiring developers or posting ads with us Log In Sign Up x Dismiss Join the Community is a community of 7.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up JMETER a ${__RandomString function that is used for creating email addresses Ask Question var ados = ados || {}; ados.run = ados.run || []; ados.run.push(function () { ados_add_placement(22,8277,"adzerk813246147",4).setZone(43); }); up vote 0 down vote favorite I have tried: ${__ RandomString (qwerty,"@",".com") } but it is not fine. I wonder how can I create this type of random email addresses? I haven't added anything in the Random Variable because I am not sure that I need to use it. jmeter share|improve this question edited May 29 '15 at 13:45 Luke 10.2k95065 asked May 29 '15 at 13:17 godRA66 712 1 i think i found it: ${__RandomString(10,qwertyuiopasra)}@mail.com – godRA66 May 29 '15 at 13:23 add a comment | 2 Answers 2 active oldest votes up vote 6 down vote accepted As per Using JMeter Functions guide __RandomString() function takes 3 parameters: Length of the desired random string Source characters If you need to store generated string into a JMeter variable you can provide variable name as 3rd argument. So to get line of 10 alphabet characters you can use __RandomString function as follows: ${__RandomString(10,abcdefghijklmnopqrstuvwxyz,)} share| improve this answer answered May 30 '15 at 10:41 Dmitri T 43.3k 2 19 40 add a comment | up vote -2 down vote ${__RandomString(${__Random(3,9,)},abcdefghijklmnopqrstuvwxyz,)}@${__RandomString(${__Random(2,3,)},abcdefghijklmnopqrstuvwxyz,)}.${__RandomString(${__Random(2,3,)},abcdefghijklmnopqrstuvwxyz,)} share| improve this answer edited Mar 11 at 20:17 Petter Friberg 12.8k 8 25 53 answered Mar 11 at 17:07 Pixi Dixi 1 2 Could you please edit in an explanation of why this code answers the question? Code-only answers are discouraged, because they don't teach the solution. – Nathan Tuggy Mar 12 at 5:50 add a comment | Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged jmeter or ask your own question. asked 2 years, 3 months ago viewed 6,824 times active 5 months ago Blog The Incredible Growth of Python Visit Chat Related 0Jmeter throws Could not create keystore error for HTTPS11JMeter Append Random Number to Form Field1JMeter - how to simulate an email address AND a confirm email address0How to login to an email Address using jmeter?0how to parse same data from one request to other request in jmeter, which is generated by random function?0Record function in Jmeter results in a error message0Clicking an email verification link using jmeter0JMeter - Function not evaluated in remote server1How can you send one email for all thread groups using jmeter?0How to define email address with Jmeter user defined variables? Hot Network Questions “in US English” vs "in the US English" Max power of 2 such that 2^m divides n. (The ruler sequence) Implementation of memmove Why did Sirius's outlook towards House Elves change drastically from GoF to OotP? Proving that 9 is a divisor of x Choosing between PhD students or postdocs as a lecturer does "keep somebody" mean protect? Why do e-bikes need dedicated tires? When do I get my sandwich? Results of Rotate and Translate are not the same in 2D and 3D How do I copy a file larger than 4GB to a USB flash drive? Amazon let me place an order without me ever being asked for 3-D secure password How to declare "newcommand" value as a sum of some number (with units) and another command so that it can be used in coordinate arithmetic? Is it possible to determine if you were on a Möbius strip? Is there a significance to the asymptotic probability of at least one occurrence of an event in n attempts? How to protect culturally bald people from sunburn? What is the essence of the constant factor in discriminant definition? Can I ask my admin to wipe my profile when I leave? Would the principles of Stack Exchange work in a real-world utopia? Possible groups of K-rational pts for elliptic curves over arbitrary fields Is Enumerate default? What's the name of this "circle" How can I ask a possible long-lost relative to prove his identity? Have I found a paradox, or is the universe digital? Or am I just plain wrong? more hot questions question feed Questions Jobs Developer Jobs Directory Documentation Help Mobile Business Talent Ads Enterprise Insights Company About Press Work Here Legal Privacy Policy Contact Us Stack Exchange Network Technology Life / Arts Culture / Recreation Science Other Server Fault Super User Web Applications Ask Ubuntu Webmasters Game Development TeX - LaTeX Software Engineering Unix & Linux Ask Different (Apple) WordPress Development Geographic Information Systems Electrical Engineering Android Enthusiasts Information Security Database Administrators Drupal Answers SharePoint User Experience Mathematica Salesforce ExpressionEngine® Answers Blender Network Engineering Cryptography Code Review Magento Software Recommendations Signal Processing Emacs Raspberry Pi Programming Puzzles & Code Golf Ethereum Data Science Arduino more (27) Photography Science Fiction & Fantasy Graphic Design Movies & TV Music: Practice & Theory Worldbuilding Seasoned Advice (cooking) Home Improvement Personal Finance & Money Academia Law more (17) English Language & Usage Skeptics Mi Yodeya (Judaism) Travel Christianity English Language Learners Japanese Language Arqade (gaming) Bicycles Role-playing Games Anime & Manga Puzzling Motor Vehicle Maintenance & Repair more (32) MathOverflow Mathematics Cross Validated (stats) Theoretical Computer Science Physics Chemistry Biology Computer Science Philosophy more (10) Meta Stack Exchange Stack Apps API Data Area 51 Blog Facebook Twitter LinkedIn site design / logo © 2017 Stack Exchange Inc; user contributions licensed under cc by-sa 3.0 with attribution required. rev 2017.9.6.26955 works best with JavaScript enabled


as per using jmeter functions guide __randomstring() function takes 3 parameters:

  1. length of desired random string
  2. source characters
  3. if need store generated string jmeter variable can provide variable name 3rd argument.

so line of 10 alphabet characters can use __randomstring function follows:

${__randomstring(10,abcdefghijklmnopqrstuvwxyz,)} 

${__randomstring(${__random(3,9,)},abcdefghijklmnopqrstuvwxyz,)}@${__randomstring(${__random(2,3,)},abcdefghijklmnopqrstuvwxyz,)}.${__randomstring(${__random(2,3,)},abcdefghijklmnopqrstuvwxyz,)} 

Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -