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:
Sebastian Bazley 2016-08-14 13:38:32 +00:00
parent 502e62ffe0
commit 3c36c0e94f
1 changed files with 8 additions and 0 deletions

View File

@ -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);
}
}