Hey
Loli,
Groovy lists. Have you any further info as to what is required to be listed?
In regards to the lists you specified, i can see youve specified two variables. 'username' and 'response'.
Can you reattach the responses please?
I know json includes 2 complex datatypes: objects and arrays. Arrays which are enclosed in square brackets is what you appear to have used, and arrays are lists of comma separated values (i cant see how the comma separated values map to your response data so thats why im asking for the responses again).
Im regards to objects. These can also be lists (although from my experience i always think o arrays as liats) although the values arent just comma separated. The values in objects are comma separated name/value pairs with the intra name/value separation using a colon)
Can you confirm what your 'username' and 'response' variables are supposed to represent? I can see youve got setProperty methods which create a 'Password' property using the 'userName' variable already set, HOWEVER....this variable is a list. Surely this would equate inserting the whole list of comma separated values into the 'Password' project level property?
My groovy script is NOT great. So youll need to bare with me so i can work out what youre trying to do to see if its feasible.
Are you sure you want to list of the property values in this way?
Cheers,
Rich