Forum Discussion
dief123
Occasional Contributor
what is best way to set a field to null using JSON in a REST call?
something other than this?
"field": null,
nmrao
9 years agoChampion Level 3
Use groovy script to make that property null.
For example, there is a test case property say property1 with value either "null" or ""
And use ${#TestCase#test} in your REST request
NOTE: You don't need to assign value to test1 variable, you might already have it as property in DataSource step, so use that property.
Related Content
- 5 years agompartyka
- 8 years agoJBARRETT5S
- 2 years agovericomms
Recent Discussions
- 2 days agonastester