Package com.eviware.soapui.model.propertyexpansion

Examples of com.eviware.soapui.model.propertyexpansion.PropertyExpansionsResult


  public PropertyExpansion[] getPropertyExpansions()
  {
    if( testRequest == null )
      return new PropertyExpansion[0];

    PropertyExpansionsResult result = new PropertyExpansionsResult( this, testRequest );

    result.extractAndAddAll( "requestContent" );
    result.extractAndAddAll( "endpoint" );
    result.extractAndAddAll( "username" );
    result.extractAndAddAll( "password" );
    result.extractAndAddAll( "domain" );

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

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

    return result.toArray( new PropertyExpansion[result.size()] );
  }
View Full Code Here


   * getRequestStepConfig().getResourcePath()); path.setSolved(true); } } }
   */

  public PropertyExpansion[] getPropertyExpansions()
  {
    PropertyExpansionsResult result = new PropertyExpansionsResult( this, testRequest );

    result.extractAndAddAll( "requestContent" );
    result.extractAndAddAll( "endpoint" );
    result.extractAndAddAll( "username" );
    result.extractAndAddAll( "password" );
    result.extractAndAddAll( "domain" );

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

    return result.toArray( new PropertyExpansion[result.size()] );
  }
View Full Code Here

  public PropertyExpansion[] getPropertyExpansions()
  {
    if( testRequest == null )
      return new PropertyExpansion[0];

    PropertyExpansionsResult result = new PropertyExpansionsResult( this, testRequest );

    result.extractAndAddAll( "requestContent" );
    result.extractAndAddAll( "endpoint" );
    result.extractAndAddAll( "username" );
    result.extractAndAddAll( "password" );
    result.extractAndAddAll( "domain" );

    StringToStringsMap requestHeaders = testRequest.getRequestHeaders();
    for( String key : requestHeaders.keySet() )
    {
      for( String value : requestHeaders.get( key ) )
        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()] );
  }
View Full Code Here

    scriptEngine.release();
  }

  public PropertyExpansion[] getPropertyExpansions()
  {
    PropertyExpansionsResult result = new PropertyExpansionsResult( this );

    result.extractAndAddAll( "script" );

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

    public ImageIcon getIcon() {
        return iconAnimator == null ? null : iconAnimator.getIcon();
    }

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

        result.addAll(PropertyExpansionUtils.extractPropertyExpansions(this, this, "requestContent"));
        result.addAll(PropertyExpansionUtils.extractPropertyExpansions(this, this, "endpoint"));
        result.addAll(PropertyExpansionUtils.extractPropertyExpansions(this, this, "username"));
        result.addAll(PropertyExpansionUtils.extractPropertyExpansions(this, this, "password"));
        result.addAll(PropertyExpansionUtils.extractPropertyExpansions(this, this, "domain"));

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

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

        notifyPropertyChanged("multiValueDelimiter", old, delimiter);
    }

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

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

    public void removePropertyChangeListener(PropertyChangeListener listener) {
    }

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

        addPropertyExpansions(result);

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

            entry.release();
        }
    }

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

        result.extractAndAddAll("username");
        result.extractAndAddAll("password");

        for (WssEntry entry : entries) {
            if (entry instanceof PropertyExpansionContainer) {
                result.addAll(((PropertyExpansionContainer) entry).getPropertyExpansions());
            }
        }

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

    public ModelItem getModelItem() {
        return modelItem;
    }

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

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

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

   * getRequestStepConfig().getService() + "/" +
   * getRequestStepConfig().getResourcePath()); path.setSolved(true); } } }
   */

    public PropertyExpansion[] getPropertyExpansions() {
        PropertyExpansionsResult result = new PropertyExpansionsResult(this, testRequest);

        result.extractAndAddAll("requestContent");
        result.extractAndAddAll("endpoint");
        result.extractAndAddAll("username");
        result.extractAndAddAll("password");
        result.extractAndAddAll("domain");

        StringToStringsMap requestHeaders = testRequest.getRequestHeaders();
        for (Map.Entry<String, List<String>> headerEntry : requestHeaders.entrySet()) {
            for (String value : headerEntry.getValue()) {
                result.extractAndAddAll(new HttpTestRequestStep.RequestHeaderHolder(headerEntry.getKey(), value,
                        testRequest), "value");
            }
        }

        return result.toArray(new PropertyExpansion[result.size()]);
    }
View Full Code Here

TOP

Related Classes of com.eviware.soapui.model.propertyexpansion.PropertyExpansionsResult

Copyright © 2018 www.massapicom. 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.