Hi Truong,
Thanks for your swift response.
I was initially writing code in execute script method only, but the xml structure consists of several tags which will vary in number for each response.
That was the main reason why I have written external java code which will be easier in reading the xml and inserting in DB.
The exact problem which I am facing here is, when the logic is executed through a java main class the xml parsing works perfectly, i.e. for each run one instance of xml is being parsed. But when I execute through dev test the xml parsing happens correctly for the first time, but on consecutive run, the xml parsing happens one plus the last execution.
For each xml execution, 4 rows of DB will be updated.
so for the first execution, 4 rows will be updated and for the second it will be 8, and so on.
But when I run from Devtest, for the first run 4 rows are updated in db, for the second run 12 rows are updated, for the third run 24 rows are updated.
This means for every consecutive execution it is executing 1 plus time the previous execution.