ScriptStepFactory { public static ScriptStep createVariable(String key, String value) { ScriptStep step = new ScriptStep(); step.setType(ScriptConstants.VARIABLE); RequestData reqData = new RequestData(); reqData.setKey(key); reqData.setValue(value); Set<RequestData> set = new HashSet<RequestData>(); set.add(reqData); step.setData(set); return step; }  static ScriptStep createVariable(String key, String value); static ScriptStep createThinkTime(String minTime, String maxTime); static ScriptStep createAuthentication(String userName, String password, String realm, AuthScheme scheme, String host, String port); static ScriptStep createSleepTime(String delay); static ScriptStep createLogic(String name, String script); static ScriptStep createCookie(String name, String value, String domain, String path); static ScriptStep createClearCookies();  }
@Test public void testCreateVariable_1() throws Exception { String key = ""; String value = ""; ScriptStep result = ScriptStepFactory.createVariable(key, value); assertNotNull(result); }