REST Method Test - Service Studio memory leak

REST Method Test - Service Studio memory leak

  

When you add more than one JSON within the Add REST API Method > Body content, Service Studio has a memory leak. It hangs the testing and keeps increasing the memory usage, releasing it only when the application is closed.

For testing purposes, you can insert just the following lines at the Body content Test input:

{}
{}


I've found it by rebuilding the ElasticSearch forge component, bulk insert method has a special syntax that triggers the behavior.


Screenshot attached.


POST
{ "index" : { "_index" : "test", "_type" : "_doc", "_id" : "1" } }
{ "field1" : "value1" }
{ "delete" : { "_index" : "test", "_type" : "_doc", "_id" : "2" } }
{ "create" : { "_index" : "test", "_type" : "_doc", "_id" : "3" } }
{ "field1" : "value3" }
{ "update" : {"_id" : "1", "_type" : "_doc", "_index" : "test"} }
{ "doc" : {"field2" : "value2"} }

Hi Márcio,

Good find, I'll pass it on to OS.