每个线程使用独立用户和 Cookie 登录,登录完成后在报名接口前集合并发。仅限本地或经授权的测试环境。 false true false activityId ${__P(activityId,11619eee67574256ad8ccc8a16630023)} = courseId ${__P(courseId,986bf4d48a5948e1810857483f9e5af2)} = redisHost ${__P(redisHost,127.0.0.1)} = redisPort ${__P(redisPort,6378)} = testPassword ${__P(testPassword,LoadTestOnly@123)} = , UTF-8 ${__P(usersFile,jmeter/data/brand-activity-users.csv)} false true false shareMode.all true continue false 1 ${__P(threads,10)} ${__P(loginRampSeconds,30)} false true ${__P(host,127.0.0.1)} ${__P(port,80)} ${__P(protocol,http)} ${__P(connectTimeout,10000)} ${__P(responseTimeout,120000)} UTF-8 true false Content-Type application/x-www-form-urlencoded;charset=UTF-8 Accept application/json, text/plain, */* /platform/login/captcha POST true true false captchaKey $.data.key 1 NOT_FOUND true groovy /platform/login/publicKey GET true true publicKey;keyId $.data.publicKey;$.data.keyId 1;1 NOT_FOUND;NOT_FOUND true groovy trueusername${loginname}=true truepassword${encryptedPassword}=true trueplatformKey${captchaKey}=true trueplatformCaptcha${captchaCode}=true truekeyId${keyId}=true /platform/login/doLogin POST true true false groovy truecourseId${courseId}=true truecurrentFamilyNumber0=true /platform/trainSignUp/apply/validateSignUp POST true true false trueactivityId${activityId}=true truecourseId${courseId}=true truemobileColumnsValue[]=true /platform/trainSignUp/apply/doSignUp POST true true false 0 ${__P(syncTimeoutMs,180000)} groovy