Package com.eviware.soapui.model.propertyexpansion

Examples of com.eviware.soapui.model.propertyexpansion.DefaultPropertyExpansionContext.expand()


      String key = scope + "." + name;
      if( PropertyUtils.isWriteable( target, name ) && properties.containsKey( key ) )
      {
        try
        {
          String value = context.expand( String.valueOf( properties.get( key ) ) );
          BeanUtils.setProperty( target, name, value );
          SoapUI.log.info( "Set property [" + name + "] to [" + value + "] in scope [" + scope + "]" );
        }
        catch( Throwable e )
        {
View Full Code Here


        for (PropertyDescriptor descriptor : descriptors) {
            String name = descriptor.getName();
            String key = scope + "." + name;
            if (PropertyUtils.isWriteable(target, name) && properties.containsKey(key)) {
                try {
                    String value = context.expand(String.valueOf(properties.get(key)));
                    BeanUtils.setProperty(target, name, value);
                    SoapUI.log.info("Set property [" + name + "] to [" + value + "] in scope [" + scope + "]");
                } catch (Throwable e) {
                    SoapUI.logError(e);
                }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.