{
web_reg_save_param("272E734824D4989099FEF2CE7CE28F86",
"LB/IC=jsessionid=",
"RB/IC=; Path=/busengexp/; ",
"Ord=1",
LAST);
lr_rendezvous("jhd");
lr_start_transaction("login");
web_url("busengexp",
"URL=http://127.0.0.1:9333/busengexp",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
EXTRARES,
"Url=/busengexp/ui/css/sd/images/login/background.jpg", "Referer=http://127.0.0.1:9333/busengexp/ui/css/sd/login.css", ENDITEM,
"Url=/busengexp/ui/css/sd/images/login/login-1.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/sd/login.css", ENDITEM,
"Url=/busengexp/ui/css/sd/images/login/login-3.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/sd/login.css", ENDITEM,
"Url=/busengexp/ui/css/sd/images/login/system-title.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/sd/login.css", ENDITEM,
"Url=/busengexp/ui/css/sd/images/login/login-4.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/sd/login.css", ENDITEM,
LAST);
web_submit_form("login.html",
"Snapshot=t2.inf",
ITEMDATA,
"Name=username", "Value=lyp", ENDITEM,
"Name=password", "Value=123456", ENDITEM,
EXTRARES,
"Url=ui/js/My97DatePicker/skin/WdatePicker.css", "Referer=http://127.0.0.1:9333/busengexp/loginRedirect/stuMain.html", ENDITEM,
"Url=ui/css/sd/images/home/bg1.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/sd/home.css", ENDITEM,
"Url=ui/css/sd/images/home/bg2.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/sd/home.css", ENDITEM,
"Url=ui/css/sd/images/home/bg3.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/sd/home.css", ENDITEM,
"Url=ui/css/sd/images/home/homeBg.jpg", "Referer=http://127.0.0.1:9333/busengexp/ui/css/sd/home.css", ENDITEM,
"Url=ui/css/sd/images/home/flowBtn.jpg", "Referer=http://127.0.0.1:9333/busengexp/ui/css/sd/home.css", ENDITEM,
"Url=ui/css/sd/images/public/headerBg.jpg", "Referer=http://127.0.0.1:9333/busengexp/ui/css/sd/public.css", ENDITEM,
"Url=ui/css/sd/images/public/logo.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/sd/public.css", ENDITEM,
"Url=ui/css/sd/images/public/TOP-4.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/sd/public.css", ENDITEM,
"Url=ui/css/sd/images/public/TOP-5.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/sd/public.css", ENDITEM,
"Url=ui/css/sd/images/public/TOP-3.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/sd/public.css", ENDITEM,
"Url=ui/css/sd/images/public/navTop.jpg", "Referer=http://127.0.0.1:9333/busengexp/ui/css/sd/public.css", ENDITEM,
"Url=ui/images/training/menuNext.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/training/train_main.css", ENDITEM,
"Url=ui/images/training/menuPre2.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/training/train_main.css", ENDITEM,
"Url=ui/css/sd/images/public/maskBg.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/sd/public.css", ENDITEM,
"Url=ui/images/training/scoreBg.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/training/train_main.css", ENDITEM,
"Url=ui/css/sd/images/public/iconBox.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/sd/public.css", ENDITEM,
"Url=ui/images/training/menuNext2.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/training/train_main.css", ENDITEM,
LAST);
web_custom_request("jdugeAccountMessage.html",
"URL=http://127.0.0.1:9333/busengexp/commonData/jdugeAccountMessage.html?_ajax_request_flag_=true",
"Method=POST",
"Resource=0",
"RecContentType=application/json",
"Referer=http://127.0.0.1:9333/busengexp/loginRedirect/stuMain.html",
"Snapshot=t3.inf",
"Mode=HTML",
"EncType=",
LAST);
web_url("toSingleSecond.html",
"URL=http://127.0.0.1:9333/busengexp/single/toSingleSecond.html?xueid=145",
"Resource=0",
"RecContentType=text/html",
"Referer=http://127.0.0.1:9333/busengexp/loginRedirect/stuMain.html",
"Snapshot=t4.inf",
"Mode=HTML",
EXTRARES,
"Url=../ui/css/training/trainingHome/listBg1.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/training/trainingHome.css", ENDITEM,
"Url=../ui/css/training/trainingHome/topTipBg.jpg", "Referer=http://127.0.0.1:9333/busengexp/ui/css/training/trainingHome.css", ENDITEM,
"Url=../ui/css/training/trainingHome/homeBg.jpg", "Referer=http://127.0.0.1:9333/busengexp/ui/css/training/trainingHome.css", ENDITEM,
"Url=../ui/css/training/trainingHome/listIcon2.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/training/trainingHome.css", ENDITEM,
"Url=../ui/css/training/trainingHome/listIcon1.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/training/trainingHome.css", ENDITEM,
"Url=../ui/css/training/trainingHome/listBg2.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/training/trainingHome.css", ENDITEM,
"Url=../ui/css/training/trainingHome/listBg4.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/training/trainingHome.css", ENDITEM,
"Url=../ui/css/training/trainingHome/listBg3.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/training/trainingHome.css", ENDITEM,
"Url=../ui/css/training/trainingHome/listIcon4.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/training/trainingHome.css", ENDITEM,
"Url=../ui/css/training/trainingHome/listIcon3.png", "Referer=http://127.0.0.1:9333/busengexp/ui/css/training/trainingHome.css", ENDITEM,
LAST);
web_url("interview.html",
"URL=http://127.0.0.1:9333/busengexp/single/interview.html?batchId=1&view=edit&id=153",
"Resource=0",
"RecContentType=text/html",
"Referer=http://127.0.0.1:9333/busengexp/single/toSingleSecond.html?xueid=145",
"Snapshot=t5.inf",
"Mode=HTML",
EXTRARES,
"Url=../ui/speech/css/images/bg2.png", "Referer=http://127.0.0.1:9333/busengexp/single/interview.html?batchId=1&view=edit&id=153", ENDITEM,
"Url=../ui/speech/css/images/simulation-2.png", "Referer=http://127.0.0.1:9333/busengexp/single/interview.html?batchId=1&view=edit&id=153", ENDITEM,
"Url=../ui/speech/css/images/bg1.png", "Referer=http://127.0.0.1:9333/busengexp/single/interview.html?batchId=1&view=edit&id=153", ENDITEM,
"Url=../ui/images/training/mainBg.jpg", "Referer=http://127.0.0.1:9333/busengexp/single/interview.html?batchId=1&view=edit&id=153", ENDITEM,
"Url=../ui/speech/css/images/exercise-2.png", "Referer=http://127.0.0.1:9333/busengexp/single/interview.html?batchId=1&view=edit&id=153", ENDITEM,
"Url=../ui/speech/css/images/simulation-1.png", "Referer=http://127.0.0.1:9333/busengexp/single/interview.html?batchId=1&view=edit&id=153", ENDITEM,
"Url=../ui/speech/css/images/exercise-1.png", "Referer=http://127.0.0.1:9333/busengexp/single/interview.html?batchId=1&view=edit&id=153", ENDITEM,
LAST);
web_url("toSpeechIframe.html",
"URL=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=",
"Resource=0",
"RecContentType=text/html",
"Referer=http://127.0.0.1:9333/busengexp/single/interview.html?batchId=1&view=edit&id=153",
"Snapshot=t6.inf",
"Mode=HTML",
EXTRARES,
"Url=../ui/css/images/scoreBox.jpg", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/speech/css/images/microphone.png", "Referer=http://127.0.0.1:9333/busengexp/ui/speech/css/simpleSpeech.css", ENDITEM,
"Url=../ui/speech/css/images/horn1.png", "Referer=http://127.0.0.1:9333/busengexp/ui/speech/css/simpleSpeech.css", ENDITEM,
"Url=../ui/speech/css/images/playBtn.png", "Referer=http://127.0.0.1:9333/busengexp/ui/speech/css/simpleSpeech.css", ENDITEM,
"Url=../ui/mp3/speech/1.4-01.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-02.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-03.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-04.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-05.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-06.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-07.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-08.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-09.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-10.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-11.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-12.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-13.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-14.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-15.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-16.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-17.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-18.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-19.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-20.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-21.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-22.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-23.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-24.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-25.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-26.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-27.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-28.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-29.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
"Url=../ui/mp3/speech/1.4-30.mp3", "Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=", ENDITEM,
LAST);
web_submit_data("saveSpeechScore.html",
"Action=http://127.0.0.1:9333/busengexp/stuSpeech/saveSpeechScore.html",
"Method=POST",
"EncType=multipart/form-data",
"RecContentType=text/plain",
"Referer=http://127.0.0.1:9333/busengexp/single/toSpeechIframe.html?type=1&speechRoleId=%20&catalogId=153&view=edit&batchId=1&teaViewFlag=&speechRoleIsSubmit=",
"Snapshot=t7.inf",
"Mode=HTML",
ITEMDATA,
"Name=file", "Value=F://Test//1488869530468.mp3", "File=yes", ENDITEM,
"Name=engineType", "Value=2", ENDITEM,
"Name=txt", "Value=Yes. There is a person who assists newcomers to handle their personnel file, party membership and temporary residence permit.", ENDITEM,
"Name=speakType", "Value=1", ENDITEM,
"Name=speechDialogueId", "Value=1354", ENDITEM,
LAST);
//输出参数化日志信息
// lr_output_message("登录用户名:%s", lr_eval_string("lyp"));
// lr_output_message("登录密码:%s", lr_eval_string("123456"));
lr_end_transaction("login", LR_AUTO);
return 0;
}
------------------------------------------------------------------------------------------------------------------------------------------
代码测试
(1)
package com.chivox;
import java.io.File;
import java.io.FileInputStream;
/**
* Created by mslyl on 2017/2/14.
*/
public class Runnn implements Runnable{
private int index ;
Runnn(int index){
this.index = index;
}
@Override
public void run() {
System.out.println("序号:"+this.index);
AIEngine a = new AIEngine();
try {
a.engine(new FileInputStream(new File("E:/123.wav")),"asd","2");
} catch (Exception e) {
e.printStackTrace();
}
}
}
( 2 )
package com.chivox;
/**
* Created by mslyl on 2017/2/14.
*/
public class Test {
public static void main(String[] args) {
for(int i =0; i<15; i++){
Thread t = new Thread(new Runnn(i));
t.start();
}
}
}
----------------------------------------------------------------------------------------------------------------------------