Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JMeter - refering User Defined Variable in Http POST body  RSS feed

Ravi Challapalli
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone tell me how to access user defined variable inside an attached file of the Http Sampler?

What I did: created an Http req. sampler; method POST; created a variable myvar which is a JMeter 'Random Variable'.

Problem: When I refer ${myvar} to populate an Http header it works but when I use it inside the file I am sending as the POST body it is not replaced but sent as it is ${myvar}.

Please help!

Thanks in advance!!
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!