Package com.eviware.soapui.model.propertyexpansion

Examples of com.eviware.soapui.model.propertyexpansion.PropertyExpansionsResult.toArray()


    for( String key : testRequest.getParams().getPropertyNames() )
    {
      result.extractAndAddAll( new RequestParamHolder( key ), "value" );
    }

    return result.toArray( new PropertyExpansion[result.size()] );
  }

  public AbstractHttpRequest<?> getHttpRequest()
  {
    return testRequest;
View Full Code Here


    {
      for( String value : requestHeaders.get( key ) )
        result.extractAndAddAll( new HttpTestRequestStep.RequestHeaderHolder( key, value, testRequest ), "value" );
    }

    return result.toArray( new PropertyExpansion[result.size()] );
  }

  public AbstractHttpRequest<?> getHttpRequest()
  {
    return testRequest;
View Full Code Here

        result.extractAndAddAll( new HttpTestRequestStep.RequestHeaderHolder( key, value, testRequest ), "value" );
    }

    testRequest.addWsaPropertyExpansions( result, testRequest.getWsaConfig(), this );
    testRequest.addJMSHeaderExpansions( result, testRequest.getJMSHeaderConfig(), this );
    return result.toArray( new PropertyExpansion[result.size()] );
  }

  public TestAssertion addAssertion( String type )
  {
    WsdlMessageAssertion result = testRequest.addAssertion( type );
View Full Code Here

  {
    PropertyExpansionsResult result = new PropertyExpansionsResult( this );

    result.extractAndAddAll( "script" );

    return result.toArray();
  }
}
View Full Code Here

            for (String value : requestHeaders.get(key)) {
                result.extractAndAddAll(new RequestHeaderHolder(key, value, this), "value");
            }
        }

        return result.toArray();
    }

    public String getUsername() {
        CredentialsConfig credentialsConfig = getConfig().getCredentials();
        if (credentialsConfig == null) {
View Full Code Here

    public PropertyExpansion[] getPropertyExpansions() {
        PropertyExpansionsResult result = new PropertyExpansionsResult(this, this);
        result.addAll(super.getPropertyExpansions());
        result.addAll(params.getPropertyExpansions());

        return result.toArray();
    }

    public boolean isSendEmptyParameters() {
        return getSettings().getBoolean("sendEmptyParameters");
    }
View Full Code Here

    public PropertyExpansion[] getPropertyExpansions() {
        PropertyExpansionsResult result = new PropertyExpansionsResult(getWssContainer().getModelItem(), this);

        addPropertyExpansions(result);

        return result.toArray();
    }

    protected void addPropertyExpansions(PropertyExpansionsResult result) {
        if (StringUtils.hasContent(config.getUsername())) {
            result.extractAndAddAll("username");
View Full Code Here

            if (entry instanceof PropertyExpansionContainer) {
                result.addAll(((PropertyExpansionContainer) entry).getPropertyExpansions());
            }
        }

        return result.toArray();
    }

    public void resolve(ResolveContext<?> context) {
    }
View Full Code Here

        for (OutgoingWss entry : outgoingWssConfigs) {
            result.addAll(entry.getPropertyExpansions());
        }

        return result.toArray();
    }

    public List<WssCrypto> getCryptoList() {
        return new ArrayList<WssCrypto>(cryptos);
    }
View Full Code Here

                        new HttpTestRequestStep.RequestHeaderHolder(headerEntry.getKey(), value, this), "value"));
            }
        }
        addWsaPropertyExpansions(result, getWsaConfig(), this);
        addJMSHeaderExpansions(result, getJMSHeaderConfig(), this);
        return result.toArray();
    }

    public void addWsaPropertyExpansions(PropertyExpansionsResult result, WsaConfig wsaConfig, ModelItem modelItem) {
        result.addAll(PropertyExpansionUtils.extractPropertyExpansions(modelItem, wsaConfig, "action"));
        result.addAll(PropertyExpansionUtils.extractPropertyExpansions(modelItem, wsaConfig, "from"));
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.