public abstract class GraphQLTestRequestWithSchema extends com.eviware.soapui.impl.graphql.GraphQLRequest implements GraphQLTestRequestInterface<com.eviware.soapui.config.GraphQLRequestConfig>
Modifier and Type | Class and Description |
---|---|
protected static class |
GraphQLTestRequestWithSchema.TestRequestIconAnimator |
com.eviware.soapui.impl.support.AbstractHttpRequest.RequestIconAnimator<T extends com.eviware.soapui.impl.support.AbstractHttpRequest<?>>
com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem.ExternalAction
com.eviware.soapui.model.testsuite.Assertable.AssertionStatus
Modifier and Type | Field and Description |
---|---|
protected ImageIcon |
disabledRequestIcon |
protected ImageIcon |
failedRequestIcon |
protected ImageIcon |
unknownRequestIcon |
protected ImageIcon |
validRequestIcon |
METHOD_PROPERTY, RESPONSE_PROPERTY, STATUS_PROPERTY
DISCARD_RESPONSE_SETTING
BIND_ADDRESS, DISABLE_MULTIPART_ATTACHMENTS, DISABLE_PROPERTY_EXPANSIONS, DUMP_FILE, FOLLOW_REDIRECTS, log, MAX_SIZE, REMOVE_EMPTY_CONTENT, REQUEST_HEADERS_PROPERTY, STRIP_WHITESPACES, USE_GET_METHOD_ON_302_REDIRECT
ENCODING_PROPERTY, ENDPOINT_PROPERTY, MEDIA_TYPE, REQUEST_PROPERTY
DESCRIPTION_PROPERTY, ICON_PROPERTY, LABEL_PROPERTY, NAME_PROPERTY, NAME_SUFFIX
ATTACHMENTS_PROPERTY
Constructor and Description |
---|
GraphQLTestRequestWithSchema(com.eviware.soapui.impl.graphql.GraphQLOperation operation,
com.eviware.soapui.config.GraphQLRequestConfig config,
GraphQLTestRequestTestStepWithSchema testStep,
boolean forLoadTest) |
Modifier and Type | Method and Description |
---|---|
com.eviware.soapui.model.testsuite.TestAssertion |
addAssertion(String selectionLabel) |
void |
addAssertionsListener(com.eviware.soapui.model.testsuite.AssertionsListener listener) |
com.eviware.soapui.model.testsuite.TestProperty |
addProperty(String name) |
void |
addTestPropertyListener(com.eviware.soapui.model.testsuite.TestPropertyListener listener) |
void |
assertResponse(com.eviware.soapui.model.iface.SubmitContext context) |
boolean |
canAssert(String assertionId) |
com.eviware.soapui.model.testsuite.TestAssertion |
cloneAssertion(com.eviware.soapui.model.testsuite.TestAssertion source,
String name) |
String |
getAssertableContent() |
String |
getAssertableContentAsXml() |
com.eviware.soapui.impl.wsdl.teststeps.assertions.TestAssertionRegistry.AssertableType |
getAssertableType() |
com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion |
getAssertionAt(int index) |
com.eviware.soapui.model.testsuite.TestAssertion |
getAssertionByName(String name) |
int |
getAssertionCount() |
List<com.eviware.soapui.model.testsuite.TestAssertion> |
getAssertionList() |
Map<String,com.eviware.soapui.model.testsuite.TestAssertion> |
getAssertions() |
com.eviware.soapui.model.testsuite.Assertable.AssertionStatus |
getAssertionStatus() |
String |
getDefaultAssertableContent() |
ImageIcon |
getIcon() |
com.eviware.soapui.model.iface.Interface |
getInterface() |
com.eviware.soapui.impl.wsdl.support.jms.property.JMSPropertiesConfig |
getJMSPropertiesConfig(boolean createIfNotSet) |
com.eviware.soapui.model.ModelItem |
getModelItem() |
com.eviware.soapui.model.ModelItem |
getParent() |
Map<String,com.eviware.soapui.model.testsuite.TestProperty> |
getProperties() |
String |
getPropertiesLabel() |
com.eviware.soapui.model.testsuite.TestProperty |
getProperty(String name) |
com.eviware.soapui.impl.rest.support.RestParamProperty |
getPropertyAt(int index) |
int |
getPropertyCount() |
List<com.eviware.soapui.model.testsuite.TestProperty> |
getPropertyList() |
String[] |
getPropertyNames() |
String |
getPropertyValue(String name) |
String |
getResponseContentAsString() |
com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase |
getTestCase() |
com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep |
getTestStep() |
boolean |
hasProperty(String name) |
com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion |
importAssertion(com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion source,
boolean overwrite,
boolean createCopy,
String newName) |
protected abstract void |
initIcons() |
boolean |
isDiscardResponse() |
com.eviware.soapui.model.testsuite.TestAssertion |
moveAssertion(int ix,
int offset) |
void |
moveProperty(String propertyName,
int targetIndex) |
void |
removeAssertion(com.eviware.soapui.model.testsuite.TestAssertion assertion) |
void |
removeAssertionsListener(com.eviware.soapui.model.testsuite.AssertionsListener listener) |
com.eviware.soapui.model.testsuite.TestProperty |
removeProperty(String propertyName) |
void |
removeTestPropertyListener(com.eviware.soapui.model.testsuite.TestPropertyListener listener) |
boolean |
renameProperty(String name,
String newName) |
void |
resolve(com.eviware.soapui.support.resolver.ResolveContext<?> context) |
void |
setDiscardResponse(boolean discardResponse) |
void |
setPropertyValue(String name,
String value) |
void |
setResponse(com.eviware.soapui.impl.wsdl.submit.transports.http.HttpResponse response,
com.eviware.soapui.model.iface.SubmitContext context) |
void |
updateConfig(com.eviware.soapui.config.GraphQLRequestConfig request) |
getAttachmentPart, getDataHolder, getDefinedAttachmentParts, getJMSHeaderConfig, getMediaType, getMethod, getMultiValueDelimiter, getOperation, getParams, getPath, getQuery, getRequestParts, getResponseContentAsXml, getResponseParts, getType, getVariables, hasRequestBody, isPostQueryString, processBodyParameterValue, releaseDataHolder, setMediaType, setMethod, setOperation, setPostQueryString, setQuery, setRequestContent, setVariables, submit
addAttachmentsChangeListener, addExternalDependencies, addSubmitListener, afterLoad, attachBinaryData, attachFile, beforeSave, copyAttachmentsTo, getActiveAuthProfile, getAfterRequestInjection, getAttachmentAt, getAttachmentCount, getAttachments, getAttachmentsForPart, getAttachmentsList, getAuthProfileHolder, getAuthType, getBindAddress, getDomain, getDumpFile, getEncoding, getEndpoint, getIconAnimator, getJMSPropertiesConfig, getMaxSize, getPassword, getPreemptive, getPropertyExpansions, getRequestContent, getRequestHeaders, getResponse, getSelectedAuthProfile, getSslKeystore, getSslState, getSubmitListeners, getTimeout, getUseGetMethodOn302Redirect, getUsername, hasEndpoint, importAttachment, initEndpoints, initIconAnimator, isEntitizeProperties, isFollowRedirects, isForLoadTest, isMultipartEnabled, isPrettyPrint, isPropertyExpansionsDisabled, isReadOnly, isRemoveEmptyContent, isStripWhitespaces, release, removeAttachment, removeAttachmentsChangeListener, removeSubmitListener, setAfterRequestInjection, setAttachmentAt, setBindAddress, setDomain, setDumpFile, setEncoding, setEndpoint, setEntitizeProperties, setFollowRedirects, setIconAnimator, setMaxSize, setMultipartEnabled, setPassword, setPreemptive, setPrettyPrint, setPropertyExpansionsDisabled, setRemoveEmptyContent, setRequestHeaders, setRequestHeaders, setSelectedAuthProfile, setSslKeystore, setSslState, setStripWhitespaces, setTimeout, setUseGetMethodOn302Redirect, setUsername
afterSave, clearIdCache, createEventBusMessage, dependsOn, getConfig, getDescription, getExternalAction, getExternalDependencies, getId, getName, getSettings, getWsdlModelItemById, getWsdlModelItemByName, initItemOrder, initWsdlModelItemOrder, resetConfigOnMove, setConfig, setDescription, setExternalAction, setIcon, setName, setSettings
addPropertyChangeListener, addPropertyChangeListener, fireIndexedPropertyChange, getChildren, getDashboardDbId, getProject, isNotifyPropertyChanged, notifyPropertyChanged, removeModelItemFromConfig, removePropertyChangeListener, removePropertyChangeListener, setDashboardDbId, setNotifyPropertyChanged
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMultiValueDelimiter, getParams, getPath, getResponseContentAsXml, hasRequestBody, isPostQueryString, setMethod, setPostQueryString
addExternalDependencies, afterLoad, beforeSave, copyAttachmentsTo, getAfterRequestInjection, getBindAddress, getDomain, getDumpFile, getIconAnimator, getMaxSize, getMethod, getRequestHeaders, getResponse, getSslKeystore, getSubmitListeners, getUseGetMethodOn302Redirect, hasEndpoint, importAttachment, isEntitizeProperties, isFollowRedirects, isPrettyPrint, isPropertyExpansionsDisabled, isReadOnly, isRemoveEmptyContent, isStripWhitespaces, release, setBindAddress, setDomain, setDumpFile, setEntitizeProperties, setFollowRedirects, setIconAnimator, setMaxSize, setMultipartEnabled, setPassword, setPrettyPrint, setPropertyExpansionsDisabled, setRemoveEmptyContent, setRequestContent, setRequestHeaders, setSslKeystore, setStripWhitespaces, setUseGetMethodOn302Redirect, setUsername
addSubmitListener, dependsOn, getAttachments, getEncoding, getEndpoint, getOperation, getRequestContent, getRequestParts, getResponseParts, getTimeout, removeSubmitListener, setEncoding, setEndpoint, submit
getChildren, getDescription, getId, getName, getSettings, setName
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
getPropertyExpansions
attachFile, removeAttachment
addAttachmentsChangeListener, getAttachmentAt, getAttachmentCount, getAttachmentPart, getAttachments, getAttachmentsForPart, getDefinedAttachmentParts, isMultipartEnabled, removeAttachmentsChangeListener
getMediaType, setMediaType
protected ImageIcon validRequestIcon
protected ImageIcon failedRequestIcon
protected ImageIcon disabledRequestIcon
protected ImageIcon unknownRequestIcon
public GraphQLTestRequestWithSchema(com.eviware.soapui.impl.graphql.GraphQLOperation operation, com.eviware.soapui.config.GraphQLRequestConfig config, GraphQLTestRequestTestStepWithSchema testStep, boolean forLoadTest)
protected abstract void initIcons()
public ImageIcon getIcon()
getIcon
in interface com.eviware.soapui.impl.support.AbstractHttpRequestInterface<com.eviware.soapui.config.GraphQLRequestConfig>
getIcon
in interface com.eviware.soapui.model.ModelItem
getIcon
in class com.eviware.soapui.impl.graphql.GraphQLRequest
public com.eviware.soapui.model.ModelItem getModelItem()
getModelItem
in interface com.eviware.soapui.impl.wsdl.AttachmentContainer
getModelItem
in interface com.eviware.soapui.model.TestPropertyHolder
getModelItem
in interface com.eviware.soapui.model.testsuite.Assertable
getModelItem
in class com.eviware.soapui.impl.graphql.GraphQLRequest
public void setResponse(com.eviware.soapui.impl.wsdl.submit.transports.http.HttpResponse response, com.eviware.soapui.model.iface.SubmitContext context)
setResponse
in interface com.eviware.soapui.impl.support.AbstractHttpRequestInterface<com.eviware.soapui.config.GraphQLRequestConfig>
setResponse
in class com.eviware.soapui.impl.support.AbstractHttpRequest<com.eviware.soapui.config.GraphQLRequestConfig>
public void assertResponse(com.eviware.soapui.model.iface.SubmitContext context)
assertResponse
in interface com.eviware.soapui.impl.wsdl.teststeps.HttpTestRequestInterface<com.eviware.soapui.config.GraphQLRequestConfig>
public boolean canAssert(String assertionId)
canAssert
in interface com.eviware.soapui.model.testsuite.ConditionalAssertable
public com.eviware.soapui.impl.wsdl.support.jms.property.JMSPropertiesConfig getJMSPropertiesConfig(boolean createIfNotSet)
getJMSPropertiesConfig
in interface com.eviware.soapui.impl.wsdl.support.jms.property.JMSPropertyContainer
getJMSPropertiesConfig
in class com.eviware.soapui.impl.graphql.GraphQLRequest
public String getResponseContentAsString()
getResponseContentAsString
in interface com.eviware.soapui.impl.wsdl.teststeps.HttpTestRequestInterface<com.eviware.soapui.config.GraphQLRequestConfig>
public void updateConfig(com.eviware.soapui.config.GraphQLRequestConfig request)
updateConfig
in interface com.eviware.soapui.impl.support.http.HttpRequestInterface<com.eviware.soapui.config.GraphQLRequestConfig>
updateConfig
in interface com.eviware.soapui.impl.wsdl.teststeps.HttpTestRequestInterface<com.eviware.soapui.config.GraphQLRequestConfig>
updateConfig
in class com.eviware.soapui.impl.graphql.GraphQLRequest
public com.eviware.soapui.impl.wsdl.teststeps.WsdlTestStep getTestStep()
getTestStep
in interface com.eviware.soapui.impl.wsdl.teststeps.HttpTestRequestInterface<com.eviware.soapui.config.GraphQLRequestConfig>
getTestStep
in interface com.eviware.soapui.impl.wsdl.teststeps.TestRequest
getTestStep
in interface com.eviware.soapui.model.testsuite.Assertable
public com.eviware.soapui.model.ModelItem getParent()
getParent
in interface com.eviware.soapui.model.ModelItem
getParent
in class com.eviware.soapui.impl.graphql.GraphQLRequest
public com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase getTestCase()
getTestCase
in interface com.eviware.soapui.impl.wsdl.teststeps.HttpTestRequestInterface<com.eviware.soapui.config.GraphQLRequestConfig>
public com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion importAssertion(com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion source, boolean overwrite, boolean createCopy, String newName)
importAssertion
in interface com.eviware.soapui.impl.wsdl.teststeps.TestRequest
public boolean isDiscardResponse()
isDiscardResponse
in interface com.eviware.soapui.model.CanDiscardResponse
public void setDiscardResponse(boolean discardResponse)
setDiscardResponse
in interface com.eviware.soapui.model.CanDiscardResponse
public com.eviware.soapui.model.testsuite.TestAssertion addAssertion(String selectionLabel)
addAssertion
in interface com.eviware.soapui.model.testsuite.Assertable
public void addAssertionsListener(com.eviware.soapui.model.testsuite.AssertionsListener listener)
addAssertionsListener
in interface com.eviware.soapui.model.testsuite.Assertable
public int getAssertionCount()
getAssertionCount
in interface com.eviware.soapui.model.testsuite.Assertable
public com.eviware.soapui.impl.wsdl.teststeps.WsdlMessageAssertion getAssertionAt(int index)
getAssertionAt
in interface com.eviware.soapui.model.testsuite.Assertable
public void removeAssertionsListener(com.eviware.soapui.model.testsuite.AssertionsListener listener)
removeAssertionsListener
in interface com.eviware.soapui.model.testsuite.Assertable
public void removeAssertion(com.eviware.soapui.model.testsuite.TestAssertion assertion)
removeAssertion
in interface com.eviware.soapui.model.testsuite.Assertable
public com.eviware.soapui.model.testsuite.Assertable.AssertionStatus getAssertionStatus()
getAssertionStatus
in interface com.eviware.soapui.model.testsuite.Assertable
public String getAssertableContentAsXml()
getAssertableContentAsXml
in interface com.eviware.soapui.model.testsuite.Assertable
public String getAssertableContent()
getAssertableContent
in interface com.eviware.soapui.model.testsuite.Assertable
public String getDefaultAssertableContent()
getDefaultAssertableContent
in interface com.eviware.soapui.model.testsuite.Assertable
public com.eviware.soapui.impl.wsdl.teststeps.assertions.TestAssertionRegistry.AssertableType getAssertableType()
getAssertableType
in interface com.eviware.soapui.model.testsuite.Assertable
public List<com.eviware.soapui.model.testsuite.TestAssertion> getAssertionList()
getAssertionList
in interface com.eviware.soapui.model.testsuite.Assertable
public com.eviware.soapui.model.testsuite.TestAssertion getAssertionByName(String name)
getAssertionByName
in interface com.eviware.soapui.model.testsuite.Assertable
public com.eviware.soapui.model.iface.Interface getInterface()
getInterface
in interface com.eviware.soapui.model.testsuite.Assertable
public com.eviware.soapui.model.testsuite.TestAssertion cloneAssertion(com.eviware.soapui.model.testsuite.TestAssertion source, String name)
cloneAssertion
in interface com.eviware.soapui.model.testsuite.Assertable
public Map<String,com.eviware.soapui.model.testsuite.TestAssertion> getAssertions()
getAssertions
in interface com.eviware.soapui.model.testsuite.Assertable
public com.eviware.soapui.model.testsuite.TestAssertion moveAssertion(int ix, int offset)
moveAssertion
in interface com.eviware.soapui.model.testsuite.Assertable
public void resolve(com.eviware.soapui.support.resolver.ResolveContext<?> context)
resolve
in interface com.eviware.soapui.impl.support.AbstractHttpRequestInterface<com.eviware.soapui.config.GraphQLRequestConfig>
resolve
in class com.eviware.soapui.impl.support.AbstractHttpRequest<com.eviware.soapui.config.GraphQLRequestConfig>
public void addTestPropertyListener(com.eviware.soapui.model.testsuite.TestPropertyListener listener)
addTestPropertyListener
in interface com.eviware.soapui.model.TestPropertyHolder
public com.eviware.soapui.model.testsuite.TestProperty addProperty(String name)
addProperty
in interface com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder
public com.eviware.soapui.model.testsuite.TestProperty getProperty(String name)
getProperty
in interface com.eviware.soapui.model.TestPropertyHolder
public com.eviware.soapui.impl.rest.support.RestParamProperty getPropertyAt(int index)
getPropertyAt
in interface com.eviware.soapui.model.TestPropertyHolder
public String getPropertyValue(String name)
getPropertyValue
in interface com.eviware.soapui.model.TestPropertyHolder
public boolean hasProperty(String name)
hasProperty
in interface com.eviware.soapui.model.TestPropertyHolder
public void moveProperty(String propertyName, int targetIndex)
moveProperty
in interface com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder
public com.eviware.soapui.model.testsuite.TestProperty removeProperty(String propertyName)
removeProperty
in interface com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder
public boolean renameProperty(String name, String newName)
renameProperty
in interface com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder
public void setPropertyValue(String name, String value)
setPropertyValue
in interface com.eviware.soapui.model.TestPropertyHolder
public String[] getPropertyNames()
getPropertyNames
in interface com.eviware.soapui.model.TestPropertyHolder
public Map<String,com.eviware.soapui.model.testsuite.TestProperty> getProperties()
getProperties
in interface com.eviware.soapui.model.TestPropertyHolder
public void removeTestPropertyListener(com.eviware.soapui.model.testsuite.TestPropertyListener listener)
removeTestPropertyListener
in interface com.eviware.soapui.model.TestPropertyHolder
public int getPropertyCount()
getPropertyCount
in interface com.eviware.soapui.model.TestPropertyHolder
public List<com.eviware.soapui.model.testsuite.TestProperty> getPropertyList()
getPropertyList
in interface com.eviware.soapui.model.TestPropertyHolder
public String getPropertiesLabel()
getPropertiesLabel
in interface com.eviware.soapui.model.TestPropertyHolder
Copyright © 2019. All rights reserved.