         let loginURLString = host + "/trader/desktop/auth/login"
         let request = NSMutableURLRequest(URL: NSURL(string: loginURLString)!)
         request.HTTPMethod = "POST"
-        request.addValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type")
-//        request.addValue("application/json", forHTTPHeaderField: "Content-Type")
+        request.addValue("application/json", forHTTPHeaderField: "Content-Type")
         
-        let param = ["id" : "shawn@nogle.com", "pass" : "Shawn123"]
-        let string = convertToQueryString(param)
-        let data = string.dataUsingEncoding(NSUTF8StringEncoding)!
-//        let data = try! NSJSONSerialization.dataWithJSONObject(param, options: NSJSONWritingOptions(rawValue: 0))
+        let param = ["id" : "laphone", "pass" : "laphone"]
+        let data = try! NSJSONSerialization.dataWithJSONObject(param, options: NSJSONWritingOptions(rawValue: 0))
         request.HTTPBody = data
         
         let task = session.dataTaskWithRequest(request) { (data, response, error) in

    
    private var client: StompClient!
    private var socket: WebSocket!
    private let host = "http://10.1.10.113:8080"
    
    override func setUp() {
        super.setUp()

    var expectation: XCTestExpectation!
    
    // MARK: - Private Properties
    private let destination = "/account/accountpnl/laphone"
    
    // MARK: - Stomp Client Delegate
    func stompClientDidConnected(client: StompClient) {
