Test duration: 44.807s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.628s |
2019-11-24 19:12:08 |
2019-11-24 19:12:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2019-11-24 19:12:08 | ------------------------------------ 2019-11-24 19:12:08 | [Mutex] isItemNotified: node_swj7v0184:exists :: false 2019-11-24 19:12:08 | [Mutex] waiting for: [node_swj7v0184:create_node] 2019-11-24 19:12:08 | [Mutex] received everything. 2019-11-24 19:12:08 | [Mutex] isItemNotified: node_swj7v0184:create_node:success :: true 2019-11-24 19:12:08 | [Mutex] waiting for: [node_swj7v0184:subscribe_node] 2019-11-24 19:12:08 | [Mutex] received everything. 2019-11-24 19:12:08 | [Mutex] isItemNotified: node_swj7v0184:subscribe_node:success :: true 2019-11-24 19:12:08 | ===== publishing normal message (to online) 2019-11-24 19:12:08 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-11-24 19:12:08 | command: <data><node>node_swj7v0184</node><entry><content>content_ktfiz80185</content></entry></data> 2019-11-24 19:12:08 | target: http://localhost:8088 2019-11-24 19:12:08 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2019-11-24 19:12:08 | entity: <data><node>node_swj7v0184</node><entry><content>content_ktfiz80185</content></entry></data> 2019-11-24 19:12:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 25 Nov 2019 03:12:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-11-24 19:12:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3f77316a-8032-4cfc-98b8-d50514998a1d</value></item-id></result> 2019-11-24 19:12:08 | contains: true 2019-11-24 19:12:08 | [Mutex] received everything. 2019-11-24 19:12:08 | [Mutex] isItemNotified: user_regularjlppxw0183@localhost:message:received:content_ktfiz80185 :: true 2019-11-24 19:12:08 | ===== publishing already old message - expecting message being filtered out (to online) 2019-11-24 19:12:08 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-11-24 19:12:08 | command: <data><node>node_swj7v0184</node><expire-at>2019-11-25T03:12:03Z</expire-at><entry><content>content_z99hab0186</content></entry></data> 2019-11-24 19:12:08 | target: http://localhost:8088 2019-11-24 19:12:08 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2019-11-24 19:12:08 | entity: <data><node>node_swj7v0184</node><expire-at>2019-11-25T03:12:03Z</expire-at><entry><content>content_z99hab0186</content></entry></data> 2019-11-24 19:12:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 25 Nov 2019 03:12:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-11-24 19:12:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fffdfa06-a798-42a6-9dba-c028bd21eb41</value></item-id></result> 2019-11-24 19:12:08 | contains: true 2019-11-24 19:12:08 | [Mutex] waiting for: [user_regularjlppxw0183@localhost:message:received:content_z99hab0186] 2019-11-24 19:12:23 | [Mutex] timeout. Not received [user_regularjlppxw0183@localhost:message:received:content_z99hab0186] 2019-11-24 19:12:23 | [Mutex] isItemNotified: user_regularjlppxw0183@localhost:message:received:content_z99hab0186 :: false 2019-11-24 19:12:23 | ===== publishing normal message (to offline) 2019-11-24 19:12:23 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-11-24 19:12:23 | command: <data><node>node_swj7v0184</node><entry><content>content_yejcjj0187</content></entry></data> 2019-11-24 19:12:23 | target: http://localhost:8088 2019-11-24 19:12:23 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false] 2019-11-24 19:12:23 | entity: <data><node>node_swj7v0184</node><entry><content>content_yejcjj0187</content></entry></data> 2019-11-24 19:12:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 25 Nov 2019 03:12:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-11-24 19:12:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c9d5b160-9e76-4cc7-83f5-7369d55af533</value></item-id></result> 2019-11-24 19:12:23 | contains: true 2019-11-24 19:12:28 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-11-24 19:12:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=457 thread=1] DNS entry stored in session object: localhost:5222 2019-11-24 19:12:28 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=457 thread=1] Opening connection to localhost/127.0.0.1:5222 2019-11-24 19:12:28 | [Mutex] waiting for: [user_regularjlppxw0183@localhost:message:received:content_yejcjj0187] 2019-11-24 19:12:28 | [Mutex] waiting for: [user_regularjlppxw0183@localhost:message:received:content_yejcjj0187] 2019-11-24 19:12:28 | [Mutex] received everything. 2019-11-24 19:12:28 | [Mutex] isItemNotified: user_regularjlppxw0183@localhost:message:received:content_yejcjj0187 :: true 2019-11-24 19:12:28 | ===== publishing already old message - expecting message being filtered out (to offline) 2019-11-24 19:12:28 | [Mutex] received everything. 2019-11-24 19:12:28 | [Mutex] isItemNotified: node_swj7v0184:subscribe_node:success :: true 2019-11-24 19:12:28 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2019-11-24 19:12:28 | command: <data><node>node_swj7v0184</node><expire-at>2019-11-25T03:12:33Z</expire-at><entry><content>content_el6m1r0188</content></entry></data> 2019-11-24 19:12:28 | target: http://localhost:8088 2019-11-24 19:12:28 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2019-11-24 19:12:28 | entity: <data><node>node_swj7v0184</node><expire-at>2019-11-25T03:12:33Z</expire-at><entry><content>content_el6m1r0188</content></entry></data> 2019-11-24 19:12:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 25 Nov 2019 03:12:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2019-11-24 19:12:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8eaf7e56-26f3-4f4e-836c-41865728205d</value></item-id></result> 2019-11-24 19:12:28 | contains: true 2019-11-24 19:12:36 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2019-11-24 19:12:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=458 thread=1] DNS entry stored in session object: localhost:5222 2019-11-24 19:12:36 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=458 thread=1] Opening connection to localhost/127.0.0.1:5222 2019-11-24 19:12:37 | [Mutex] waiting for: [user_regularjlppxw0183@localhost:message:received:content_el6m1r0188] 2019-11-24 19:12:37 | [Mutex] waiting for: [user_regularjlppxw0183@localhost:message:received:content_el6m1r0188] 2019-11-24 19:12:52 | [Mutex] timeout. Not received [user_regularjlppxw0183@localhost:message:received:content_el6m1r0188] 2019-11-24 19:12:52 | [Mutex] received everything. 2019-11-24 19:12:52 | [Mutex] isItemNotified: user_regularjlppxw0183@localhost:message:received:content_el6m1r0188 :: false 2019-11-24 19:12:52 | [Mutex] isItemNotified: admin@localhost:message:received:content_el6m1r0188 :: true |