Hi,

I tried replacing the "," in the CSV string with %2C, but when it sent the 
request body if left the %2C literally in the CSV string :(!!




     On Monday, July 18, 2022, 04:46:08 PM EDT, ohaya <[email protected]> wrote:  
 
 Hi,

I have a test plan that uses  CSV Data Set Config to rotate through a set of 
request bodies (strings), but some of the bodies in the CSV files have 
characters like comma (","), e.g.:

<Request xmlns:xacml-context="urn:oasis:names:tc:xacml:2.0:context:schema:os" 
xmlns="urn:oasis:names:tc:xacml:2.0:context:schema:os">    <Subject>        
<Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id" 
DataType="http://security.bea.com/ssmws/ssm-ws-1.0.wsdl#PrincipalInfo";>         
   
<AttributeValue>{name=cn=ImageryPolicyUser1,ou=People,ou=xxx,ou=yyy,o=ooo,c=us}+(class=weblogic.security.principal.WLSUserImpl)</AttributeValue>
              </Attribute>    </Subject>    <Resource>        <Attribute 
AttributeId="urn:oasis:names:tc:xacml:2.0:resource:resource-id" 
DataType="http://www.w3.org/2001/XMLSchema#string";>            
<AttributeValue>h://z/iEval</AttributeValue> 
</Attribute></Resource><Action><Attribute 
AttributeId="urn:oasis:names:tc:xacml:1.0:action:action-id"            
DataType="http://www.w3.org/2001/XMLSchema#string";>            
<AttributeValue>GET</AttributeValue>        </Attribute>    </Action>    
<Environment>        <Attribute 
AttributeId="http://security.bea.com/ssmws/ssm-ws-1.0.wsdl#metadata"; 
DataType="http://www.w3.org/2001/XMLSchema#string";>  <AttributeValue>{ "wac": 
1000 }                                </AttributeValue>            </Attribute> 
   </Environment></Request>

How can I escape those characters?

Thanks,
Jim
  

Reply via email to