Test duration : 44.457s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.617s |
2022-11-16 22:03:29 |
2022-11-16 22:03:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-11-16 22:03:29 | ------------------------------------ 2022-11-16 22:03:29 | [Mutex] isItemNotified: node_fgdq310204:exists :: false 2022-11-16 22:03:29 | [Mutex] waiting for: [node_fgdq310204:create_node] 2022-11-16 22:03:29 | [Mutex] received everything. 2022-11-16 22:03:29 | [Mutex] isItemNotified: node_fgdq310204:create_node:success :: true 2022-11-16 22:03:29 | [Mutex] waiting for: [node_fgdq310204:subscribe_node] 2022-11-16 22:03:29 | [Mutex] waiting for: [node_fgdq310204:subscribe_node] 2022-11-16 22:03:29 | [Mutex] received everything. 2022-11-16 22:03:29 | [Mutex] isItemNotified: node_fgdq310204:subscribe_node:success :: true 2022-11-16 22:03:29 | ===== publishing normal message (to online) 2022-11-16 22:03:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-16 22:03:29 | command: <data><node>node_fgdq310204</node><entry><content>content_nujnpg0205</content></entry></data> 2022-11-16 22:03:29 | target: http://localhost:8088 2022-11-16 22:03:29 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-11-16 22:03:29 | entity: <data><node>node_fgdq310204</node><entry><content>content_nujnpg0205</content></entry></data> 2022-11-16 22:03:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Nov 2022 06:03:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-16 22:03:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>198f1a80-9700-483b-9b23-eb350afdd395</value></item-id></result> 2022-11-16 22:03:29 | contains: true 2022-11-16 22:03:29 | [Mutex] waiting for: [user_regularuu3ddp0203@test-domain.com:message:received:content_nujnpg0205] 2022-11-16 22:03:29 | [Mutex] received everything. 2022-11-16 22:03:29 | [Mutex] isItemNotified: user_regularuu3ddp0203@test-domain.com:message:received:content_nujnpg0205 :: true 2022-11-16 22:03:29 | ===== publishing already old message - expecting message being filtered out (to online) 2022-11-16 22:03:29 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-16 22:03:29 | command: <data><node>node_fgdq310204</node><expire-at>2022-11-17T06:03:24Z</expire-at><entry><content>content_8ll9up0206</content></entry></data> 2022-11-16 22:03:29 | target: http://localhost:8088 2022-11-16 22:03:29 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-11-16 22:03:29 | entity: <data><node>node_fgdq310204</node><expire-at>2022-11-17T06:03:24Z</expire-at><entry><content>content_8ll9up0206</content></entry></data> 2022-11-16 22:03:29 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Nov 2022 06:03:29 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-16 22:03:29 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9ba1aa66-a268-41c9-bd6e-c97da39b80ed</value></item-id></result> 2022-11-16 22:03:29 | contains: true 2022-11-16 22:03:29 | [Mutex] waiting for: [user_regularuu3ddp0203@test-domain.com:message:received:content_8ll9up0206] 2022-11-16 22:03:44 | [Mutex] timeout. Not received [user_regularuu3ddp0203@test-domain.com:message:received:content_8ll9up0206] 2022-11-16 22:03:44 | [Mutex] isItemNotified: user_regularuu3ddp0203@test-domain.com:message:received:content_8ll9up0206 :: false 2022-11-16 22:03:44 | ===== publishing normal message (to offline) 2022-11-16 22:03:44 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-16 22:03:44 | command: <data><node>node_fgdq310204</node><entry><content>content_a573ok0207</content></entry></data> 2022-11-16 22:03:44 | target: http://localhost:8088 2022-11-16 22:03:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-11-16 22:03:44 | entity: <data><node>node_fgdq310204</node><entry><content>content_a573ok0207</content></entry></data> 2022-11-16 22:03:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Nov 2022 06:03:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-16 22:03:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2a770c5a-1a27-4239-a8d4-aeb7e4c94c3f</value></item-id></result> 2022-11-16 22:03:44 | contains: true 2022-11-16 22:03:49 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-11-16 22:03:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-11-16 22:03:49 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-11-16 22:03:50 | [Mutex] waiting for: [user_regularuu3ddp0203@test-domain.com:message:received:content_a573ok0207] 2022-11-16 22:03:50 | [Mutex] waiting for: [user_regularuu3ddp0203@test-domain.com:message:received:content_a573ok0207] 2022-11-16 22:03:50 | [Mutex] received everything. 2022-11-16 22:03:50 | [Mutex] isItemNotified: user_regularuu3ddp0203@test-domain.com:message:received:content_a573ok0207 :: true 2022-11-16 22:03:50 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-11-16 22:03:50 | [Mutex] received everything. 2022-11-16 22:03:50 | [Mutex] isItemNotified: node_fgdq310204:subscribe_node:success :: true 2022-11-16 22:03:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-11-16 22:03:50 | command: <data><node>node_fgdq310204</node><expire-at>2022-11-17T06:03:55Z</expire-at><entry><content>content_8spn40208</content></entry></data> 2022-11-16 22:03:50 | target: http://localhost:8088 2022-11-16 22:03:50 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false] 2022-11-16 22:03:50 | entity: <data><node>node_fgdq310204</node><expire-at>2022-11-17T06:03:55Z</expire-at><entry><content>content_8spn40208</content></entry></data> 2022-11-16 22:03:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 17 Nov 2022 06:03:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-11-16 22:03:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4897551b-8e78-4ab0-98a3-56205a2accbe</value></item-id></result> 2022-11-16 22:03:50 | contains: true 2022-11-16 22:03:58 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-11-16 22:03:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-11-16 22:03:58 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-11-16 22:03:58 | [Mutex] waiting for: [user_regularuu3ddp0203@test-domain.com:message:received:content_8spn40208] 2022-11-16 22:04:13 | [Mutex] timeout. Not received [user_regularuu3ddp0203@test-domain.com:message:received:content_8spn40208] 2022-11-16 22:04:13 | [Mutex] received everything. 2022-11-16 22:04:13 | [Mutex] isItemNotified: user_regularuu3ddp0203@test-domain.com:message:received:content_8spn40208 :: false 2022-11-16 22:04:13 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_8spn40208 :: true |