From 64f433ce2a9574e87c729d68ddeeb2d8f3881da9 Mon Sep 17 00:00:00 2001 From: hmm Date: Wed, 27 Aug 2014 08:38:16 +0800 Subject: [PATCH] add responseModel to tranfer new response --- .../recorder/httpcapture/ResponseModel.java | 17 +++++++++++++++++ .../webapp/script/scriptManager/recorder.js | 6 ++++++ 2 files changed, 23 insertions(+) create mode 100644 Bench4Q-Recorder/src/main/java/org/bench4q/recorder/httpcapture/ResponseModel.java create mode 100644 Bench4Q-Web/src/main/webapp/script/scriptManager/recorder.js diff --git a/Bench4Q-Recorder/src/main/java/org/bench4q/recorder/httpcapture/ResponseModel.java b/Bench4Q-Recorder/src/main/java/org/bench4q/recorder/httpcapture/ResponseModel.java new file mode 100644 index 00000000..0f874030 --- /dev/null +++ b/Bench4Q-Recorder/src/main/java/org/bench4q/recorder/httpcapture/ResponseModel.java @@ -0,0 +1,17 @@ +package org.bench4q.recorder.httpcapture; + +public class ResponseModel { + private byte[] response; + + public byte[] getResponse() { + return response; + } + + public void setResponse(byte[] response) { + this.response = response; + } + + public ResponseModel(byte[] response){ + this.response = response; + } +} diff --git a/Bench4Q-Web/src/main/webapp/script/scriptManager/recorder.js b/Bench4Q-Web/src/main/webapp/script/scriptManager/recorder.js new file mode 100644 index 00000000..8ae93df8 --- /dev/null +++ b/Bench4Q-Web/src/main/webapp/script/scriptManager/recorder.js @@ -0,0 +1,6 @@ +/** + * + */ +$(function() { + alert("hello world!"); +}); \ No newline at end of file