mirror of https://github.com/apache/jmeter.git
git-svn-id: https://svn.apache.org/repos/asf/jmeter/trunk@1756321 13f79535-47bb-0310-9956-ffa450edef68
Former-commit-id: fba1b80cef
This commit is contained in:
parent
502e62ffe0
commit
3c36c0e94f
|
|
@ -21,6 +21,8 @@ package org.apache.jmeter.protocol.http.sampler;
|
|||
import static org.junit.Assert.assertEquals;
|
||||
import static org.junit.Assert.assertNotNull;
|
||||
|
||||
import javax.crypto.Cipher;
|
||||
|
||||
import org.apache.jmeter.config.Argument;
|
||||
import org.apache.jmeter.config.Arguments;
|
||||
import org.apache.jmeter.protocol.http.util.HTTPConstants;
|
||||
|
|
@ -364,4 +366,10 @@ public class TestHTTPSamplers {
|
|||
file = sampler.getHTTPFiles()[0];
|
||||
assertEquals("mime2", file.getMimeType());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testCryptoStrength() throws Exception {
|
||||
int maxKeyLen = Cipher.getMaxAllowedKeyLength("AES");
|
||||
System.err.println("Crypto Max key length="+maxKeyLen);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue