json 데이터를 post로 보내서 테스트하고 싶은 경우에 사용시..
|
from net.grinder.script import Test from HTTPClient import NVPair test1 = Test(1, "JSON POST TEST") requestGet = test1.wrap(HTTPRequest(url="http://1.1.1.1:1111"))
class TestRunner: def __call__(self): |
아래는 그냥 간단한 테스트 샘플
'general java' 카테고리의 다른 글
| Spring NoClassDefFoundError EnvironmentCapable 처리 (0) | 2012.07.12 |
|---|---|
| java- HTMLEntity 변환 코드 (2) | 2012.06.22 |
| json http request 보내는 ngrinder script 참조 (0) | 2012.06.15 |
| apache httpclient와 protobuff를 이용해서 RPC 구현 (0) | 2012.05.18 |
| protocol buffer idl 구현시 팁 (0) | 2012.05.18 |
| [Jackson] json string에서 null인 properties는 보이지 않게 하기 (0) | 2012.05.13 |



댓글을 달아 주세요