public class HttpsSender extends HttpSender
HttpSender.Method
Constructor and Description |
---|
HttpsSender() |
Modifier and Type | Method and Description |
---|---|
void |
doInit(Properties messageAttributes) |
String |
getKeyStore()
Gets the SSL key store.
|
String |
getKeyStorePassword()
Gets the SSL key store password.
|
String |
getTrustStore()
Gets the SSL trust store.
|
String |
getTrustStorePassword()
Gets the SSL trust store password.
|
void |
preSend(Message message,
Properties messageAttributes)
Performs any action that needs to be done to send the message but is not directly related to the sending operation and thus not measured.
|
HttpsSender |
setKeyStore(String keyStore)
Sets the SSL key store.
|
HttpsSender |
setKeyStorePassword(String keyStorePassword)
Sets the SSL key store password.
|
HttpsSender |
setTrustStore(String trustStore)
Sets the SSL trust store.
|
HttpsSender |
setTrustStorePassword(String trustStorePassword)
Sets the SSL trust store password.
|
doClose, doSend, getDynamicMethod, getExpectedResponseCodeList, getExpectedResponseCodes, getMethod, isStoreCookies, postSend, setDynamicMethod, setExpectedResponseCodes, setMethod, setStoreCookies
close, getTarget, getTarget, init, isKeepConnection, safeGetTarget, send, setKeepConnection, setTarget
public void doInit(Properties messageAttributes) throws PerfCakeException
doInit
in class HttpSender
PerfCakeException
public void preSend(Message message, Properties messageAttributes) throws Exception
MessageSender
preSend
in interface MessageSender
preSend
in class HttpSender
message
- Message to be sent.messageAttributes
- Attributes that can be used to replace placeholders in message and or target.Exception
- In case anything fails during the preparation.public String getKeyStore()
public HttpsSender setKeyStore(String keyStore)
keyStore
- The SSL key store.public String getKeyStorePassword()
public HttpsSender setKeyStorePassword(String keyStorePassword)
keyStorePassword
- The SSL key store password.public String getTrustStore()
public HttpsSender setTrustStore(String trustStore)
trustStore
- The SSL trust store.public String getTrustStorePassword()
public HttpsSender setTrustStorePassword(String trustStorePassword)
trustStorePassword
- The SSL trust store password.Copyright © 2010–2017 PerfCake Community. All rights reserved.