Test duration : 44.761s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.564s |
2022-05-29 22:38:03 |
2022-05-29 22:38:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-05-29 22:38:03 | ------------------------------------ 2022-05-29 22:38:03 | [Mutex] isItemNotified: node_riwqb60204:exists :: false 2022-05-29 22:38:03 | [Mutex] waiting for: [node_riwqb60204:create_node] 2022-05-29 22:38:03 | [Mutex] received everything. 2022-05-29 22:38:03 | [Mutex] isItemNotified: node_riwqb60204:create_node:success :: true 2022-05-29 22:38:03 | [Mutex] waiting for: [node_riwqb60204:subscribe_node] 2022-05-29 22:38:03 | [Mutex] received everything. 2022-05-29 22:38:03 | [Mutex] isItemNotified: node_riwqb60204:subscribe_node:success :: true 2022-05-29 22:38:03 | ===== publishing normal message (to online) 2022-05-29 22:38:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-29 22:38:03 | command: <data><node>node_riwqb60204</node><entry><content>content_92sv0i0205</content></entry></data> 2022-05-29 22:38:03 | target: http://localhost:8088 2022-05-29 22:38:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-29 22:38:03 | entity: <data><node>node_riwqb60204</node><entry><content>content_92sv0i0205</content></entry></data> 2022-05-29 22:38:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 May 2022 05:38:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-29 22:38:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4d2d6d18-8ccb-4ea5-9770-04905f34212c</value></item-id></result> 2022-05-29 22:38:03 | contains: true 2022-05-29 22:38:03 | [Mutex] waiting for: [user_regulary3c4ww0203@test-domain.com:message:received:content_92sv0i0205] 2022-05-29 22:38:03 | [Mutex] received everything. 2022-05-29 22:38:03 | [Mutex] isItemNotified: user_regulary3c4ww0203@test-domain.com:message:received:content_92sv0i0205 :: true 2022-05-29 22:38:03 | ===== publishing already old message - expecting message being filtered out (to online) 2022-05-29 22:38:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-29 22:38:03 | command: <data><node>node_riwqb60204</node><expire-at>2022-05-30T05:37:58Z</expire-at><entry><content>content_sms2uk0206</content></entry></data> 2022-05-29 22:38:03 | target: http://localhost:8088 2022-05-29 22:38:03 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-29 22:38:03 | entity: <data><node>node_riwqb60204</node><expire-at>2022-05-30T05:37:58Z</expire-at><entry><content>content_sms2uk0206</content></entry></data> 2022-05-29 22:38:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 May 2022 05:38:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-29 22:38:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>69fdd2ff-6ebb-445a-8577-59c1f8d0599f</value></item-id></result> 2022-05-29 22:38:03 | contains: true 2022-05-29 22:38:03 | [Mutex] waiting for: [user_regulary3c4ww0203@test-domain.com:message:received:content_sms2uk0206] 2022-05-29 22:38:18 | [Mutex] timeout. Not received [user_regulary3c4ww0203@test-domain.com:message:received:content_sms2uk0206] 2022-05-29 22:38:18 | [Mutex] isItemNotified: user_regulary3c4ww0203@test-domain.com:message:received:content_sms2uk0206 :: false 2022-05-29 22:38:18 | ===== publishing normal message (to offline) 2022-05-29 22:38:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-29 22:38:18 | command: <data><node>node_riwqb60204</node><entry><content>content_81x0vk0207</content></entry></data> 2022-05-29 22:38:18 | target: http://localhost:8088 2022-05-29 22:38:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-29 22:38:18 | entity: <data><node>node_riwqb60204</node><entry><content>content_81x0vk0207</content></entry></data> 2022-05-29 22:38:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 May 2022 05:38:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-29 22:38:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0a79305e-1318-4fdc-978e-5dd80b44329d</value></item-id></result> 2022-05-29 22:38:18 | contains: true 2022-05-29 22:38:23 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-29 22:38:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-05-29 22:38:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-29 22:38:23 | [Mutex] waiting for: [user_regulary3c4ww0203@test-domain.com:message:received:content_81x0vk0207] 2022-05-29 22:38:23 | [Mutex] received everything. 2022-05-29 22:38:23 | [Mutex] isItemNotified: user_regulary3c4ww0203@test-domain.com:message:received:content_81x0vk0207 :: true 2022-05-29 22:38:23 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-05-29 22:38:23 | [Mutex] received everything. 2022-05-29 22:38:23 | [Mutex] isItemNotified: node_riwqb60204:subscribe_node:success :: true 2022-05-29 22:38:23 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-29 22:38:23 | command: <data><node>node_riwqb60204</node><expire-at>2022-05-30T05:38:28Z</expire-at><entry><content>content_2eej190208</content></entry></data> 2022-05-29 22:38:23 | target: http://localhost:8088 2022-05-29 22:38:23 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-29 22:38:23 | entity: <data><node>node_riwqb60204</node><expire-at>2022-05-30T05:38:28Z</expire-at><entry><content>content_2eej190208</content></entry></data> 2022-05-29 22:38:23 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 30 May 2022 05:38:23 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-29 22:38:23 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fbcb99ff-7f8f-40bf-92ea-edec09cb8875</value></item-id></result> 2022-05-29 22:38:23 | contains: true 2022-05-29 22:38:31 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-29 22:38:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-05-29 22:38:31 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-29 22:38:31 | [Mutex] waiting for: [user_regulary3c4ww0203@test-domain.com:message:received:content_2eej190208] 2022-05-29 22:38:46 | [Mutex] timeout. Not received [user_regulary3c4ww0203@test-domain.com:message:received:content_2eej190208] 2022-05-29 22:38:46 | [Mutex] received everything. 2022-05-29 22:38:46 | [Mutex] isItemNotified: user_regulary3c4ww0203@test-domain.com:message:received:content_2eej190208 :: false 2022-05-29 22:38:46 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2eej190208 :: true |