AnsweredAssumed Answered

Ampersand in parameter List.

Question asked by IvanM on Feb 19, 2016
Latest reply on Feb 29, 2016 by Lenn Thompson

I'm currently implementing a custom java test step Create a Custom Java Test Step - DevTest Solutions - 8.0 - CA Technologies Documentation

 

Now, what if in one of our parameter value (password has ampersand sign '&), how do we escape it(so that it doesn't treat it as another parameter)?

 

 

public ParameterList getParameters()

{

    ParameterList pl = new ParameterList( "username=&password=24387f!&#@$&host=ftp.suse.com&path=/pub&file=INDEX" );

    return pl;

}

Outcomes