# Dynamic responsebody for returns on MockServer

**URL:** <https://community.postman.com/t/dynamic-responsebody-for-returns-on-mockserver/891>\
**Category:** Help Hub\
**Tags:** mockservers\
**Created:** [February 5, 2018, 7:38pm UTC](https://community.postman.com/t/dynamic-responsebody-for-returns-on-mockserver/891 "2018-02-05T19:38:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![qantk](https://avatars.discourse-cdn.com/v4/letter/q/a183cd/32.png) [@qantk](https://community.postman.com/u/qantk)\
**Post date:** [February 5, 2018, 7:38pm UTC](https://community.postman.com/t/dynamic-responsebody-for-returns-on-mockserver/891/1 "2018-02-05T19:38:39Z")

</div>

I have a demand to create a mock where it returns an XML that contains financial transaction data from credit card transactions (transaction id, authorization code). I noticed that the MockServers feature does not allow you to use variables or js scripts to change the content of the reponsebody at each iteration.

---

<div class="post-metadata">

**Author:** ![abhinav](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/abhinav/32/8_2.png) [@abhinav](https://community.postman.com/u/abhinav)\
**Post date:** [February 6, 2018, 11:17pm UTC](https://community.postman.com/t/dynamic-responsebody-for-returns-on-mockserver/891/2 "2018-02-06T23:17:19Z")

</div>

Not yet. But responses will be configurable through JS soon. Can’t promise an ETA yet though.
