Performance testing with Jmeter

Hello, We are trying to do performance testing with our Appian implementations using Jmeter, we have followed steps similar to that mentioned here - forum.appian.com/.../Using_JMeter_with_Appian.html but we'r stuck with an issue. As mentioned in the given link we are passing ${COOKIE___appianCsrfToken} wherever there are values for X-APPIAN-CSRF-TOKEN in HTTP Requests Parameters and HTTP Request Headers in our recorded script, but still while signing in as valid user it throws "401 Unauthorized" error when viewed on view results tree and thus not able to login, we've also tried getting the token using Regular Expression Extractor but still story remains the same.
Is there anyone who have implemented this successfully? A little help would be appreciable

Thanks

OriginalPostID-148084

OriginalPostID-148084

  Discussion posts and replies are publicly visible

Parents
  • @utkarsh Please find attached file which should work fine.Cookie parameter is somehow not working but I have not checked what is the problem with it instead I have extracted CSRF token manually and passed it as parameter in each header as I have done in my working script, check 5th Sample post processor to know how I have extracted the CSRF token.

    Make sure to replace your server URL, I have my server at localhost:8080. Please let me know.
Reply
  • @utkarsh Please find attached file which should work fine.Cookie parameter is somehow not working but I have not checked what is the problem with it instead I have extracted CSRF token manually and passed it as parameter in each header as I have done in my working script, check 5th Sample post processor to know how I have extracted the CSRF token.

    Make sure to replace your server URL, I have my server at localhost:8080. Please let me know.
Children
No Data