Test duration : 44.518s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.621s |
2023-07-09 22:30:33 |
2023-07-09 22:30:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-07-09 22:30:33 | ------------------------------------ 2023-07-09 22:30:33 | [Mutex] isItemNotified: node_dnwyga0208:exists :: false 2023-07-09 22:30:33 | [Mutex] waiting for: [node_dnwyga0208:create_node] 2023-07-09 22:30:33 | [Mutex] received everything. 2023-07-09 22:30:33 | [Mutex] isItemNotified: node_dnwyga0208:create_node:success :: true 2023-07-09 22:30:33 | [Mutex] waiting for: [node_dnwyga0208:subscribe_node] 2023-07-09 22:30:33 | [Mutex] waiting for: [node_dnwyga0208:subscribe_node] 2023-07-09 22:30:33 | [Mutex] received everything. 2023-07-09 22:30:33 | [Mutex] isItemNotified: node_dnwyga0208:subscribe_node:success :: true 2023-07-09 22:30:33 | ===== publishing normal message (to online) 2023-07-09 22:30:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-09 22:30:33 | command: <data><node>node_dnwyga0208</node><entry><content>content_fnyj9f0209</content></entry></data> 2023-07-09 22:30:33 | target: http://localhost:8088 2023-07-09 22:30:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-09 22:30:33 | entity: <data><node>node_dnwyga0208</node><entry><content>content_fnyj9f0209</content></entry></data> 2023-07-09 22:30:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 05:30:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-09 22:30:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>33dc97cf-effe-4dcc-ab6a-60fc19c03fc6</value></item-id></result> 2023-07-09 22:30:33 | contains: true 2023-07-09 22:30:33 | [Mutex] received everything. 2023-07-09 22:30:33 | [Mutex] isItemNotified: user_regulartjpbw70207@test-domain.com:message:received:content_fnyj9f0209 :: true 2023-07-09 22:30:33 | ===== publishing already old message - expecting message being filtered out (to online) 2023-07-09 22:30:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-09 22:30:33 | command: <data><node>node_dnwyga0208</node><expire-at>2023-07-10T05:30:28Z</expire-at><entry><content>content_k8tvrz0210</content></entry></data> 2023-07-09 22:30:33 | target: http://localhost:8088 2023-07-09 22:30:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-09 22:30:33 | entity: <data><node>node_dnwyga0208</node><expire-at>2023-07-10T05:30:28Z</expire-at><entry><content>content_k8tvrz0210</content></entry></data> 2023-07-09 22:30:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 05:30:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-09 22:30:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0162fd10-c2b2-4bbf-b34e-ff904b1b3654</value></item-id></result> 2023-07-09 22:30:33 | contains: true 2023-07-09 22:30:33 | [Mutex] waiting for: [user_regulartjpbw70207@test-domain.com:message:received:content_k8tvrz0210] 2023-07-09 22:30:48 | [Mutex] timeout. Not received [user_regulartjpbw70207@test-domain.com:message:received:content_k8tvrz0210] 2023-07-09 22:30:48 | [Mutex] isItemNotified: user_regulartjpbw70207@test-domain.com:message:received:content_k8tvrz0210 :: false 2023-07-09 22:30:48 | ===== publishing normal message (to offline) 2023-07-09 22:30:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-09 22:30:48 | command: <data><node>node_dnwyga0208</node><entry><content>content_p2349c0211</content></entry></data> 2023-07-09 22:30:48 | target: http://localhost:8088 2023-07-09 22:30:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-07-09 22:30:48 | entity: <data><node>node_dnwyga0208</node><entry><content>content_p2349c0211</content></entry></data> 2023-07-09 22:30:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 05:30:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-09 22:30:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>03e7a6cb-8b54-4677-98e3-b98a4686aa0c</value></item-id></result> 2023-07-09 22:30:48 | contains: true 2023-07-09 22:30:53 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-09 22:30:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222 2023-07-09 22:30:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-09 22:30:53 | [Mutex] waiting for: [user_regulartjpbw70207@test-domain.com:message:received:content_p2349c0211] 2023-07-09 22:30:53 | [Mutex] waiting for: [user_regulartjpbw70207@test-domain.com:message:received:content_p2349c0211] 2023-07-09 22:30:53 | [Mutex] received everything. 2023-07-09 22:30:53 | [Mutex] isItemNotified: user_regulartjpbw70207@test-domain.com:message:received:content_p2349c0211 :: true 2023-07-09 22:30:53 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-07-09 22:30:53 | [Mutex] received everything. 2023-07-09 22:30:53 | [Mutex] isItemNotified: node_dnwyga0208:subscribe_node:success :: true 2023-07-09 22:30:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-07-09 22:30:53 | command: <data><node>node_dnwyga0208</node><expire-at>2023-07-10T05:30:58Z</expire-at><entry><content>content_1zs3ce0212</content></entry></data> 2023-07-09 22:30:53 | target: http://localhost:8088 2023-07-09 22:30:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-07-09 22:30:53 | entity: <data><node>node_dnwyga0208</node><expire-at>2023-07-10T05:30:58Z</expire-at><entry><content>content_1zs3ce0212</content></entry></data> 2023-07-09 22:30:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 10 Jul 2023 05:30:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-07-09 22:30:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>73051787-d639-4e87-b7ac-3c4fd34c35de</value></item-id></result> 2023-07-09 22:30:53 | contains: true 2023-07-09 22:31:01 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-07-09 22:31:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222 2023-07-09 22:31:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-07-09 22:31:01 | [Mutex] waiting for: [user_regulartjpbw70207@test-domain.com:message:received:content_1zs3ce0212] 2023-07-09 22:31:16 | [Mutex] timeout. Not received [user_regulartjpbw70207@test-domain.com:message:received:content_1zs3ce0212] 2023-07-09 22:31:16 | [Mutex] received everything. 2023-07-09 22:31:16 | [Mutex] isItemNotified: user_regulartjpbw70207@test-domain.com:message:received:content_1zs3ce0212 :: false 2023-07-09 22:31:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_1zs3ce0212 :: true |