1

I have list of names in my application which I extracted using regular expression extractor. Now i need to add ForEach Controller to run through the list of names but I am unable to get it working. Can anyone help me resolve this issue? enter image description here enter image description here

Regular Expression Extractor ForEach Controller

  • Could you please post the details of Regular Expression Extractor and the ForEach controller? A screenshot of them should help identify the issue here. – Jake Turner May 7 at 15:23
  • I have attached screen shots – Veena MB May 8 at 4:20
  • Can you please describe the problem? From the log you posted it seems the regex is matching against strings at least 12 times. The other screenshots shot a correctly configured regex extractor, and a correct ForEach controller configuration. If you look in the View Results Tree listener, do you see requests to "rest/items/[...]"? – Jake Turner May 8 at 16:08
  • yes ,but in the Request "POST devtest.fueblabs.com/rest/items/35_fueb11_Switch_L8%20" Responses is {"error":{"message":"HTTP 404 Not Found","http-code":404,"exception":{"class":"javax.ws.rs.NotFoundException","message":"HTTP 404 Not Found","localized-message":"HTTP 404 Not Found"}}} – Veena MB May 9 at 3:56
  • if i use the in the path like "rest/items/${name_1}" this its working in case i user path "rest/items/${name_index}" displaying as 404 not found exception – Veena MB May 9 at 7:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.