Test duration : 44.862s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.676s |
2022-09-08 22:35:34 |
2022-09-08 22:35:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-09-08 22:35:34 | ------------------------------------ 2022-09-08 22:35:34 | [Mutex] isItemNotified: node_nhx8m40204:exists :: false 2022-09-08 22:35:34 | [Mutex] waiting for: [node_nhx8m40204:create_node] 2022-09-08 22:35:34 | [Mutex] received everything. 2022-09-08 22:35:34 | [Mutex] isItemNotified: node_nhx8m40204:create_node:success :: true 2022-09-08 22:35:34 | [Mutex] waiting for: [node_nhx8m40204:subscribe_node] 2022-09-08 22:35:34 | [Mutex] waiting for: [node_nhx8m40204:subscribe_node] 2022-09-08 22:35:34 | [Mutex] received everything. 2022-09-08 22:35:34 | [Mutex] isItemNotified: node_nhx8m40204:subscribe_node:success :: true 2022-09-08 22:35:34 | ===== publishing normal message (to online) 2022-09-08 22:35:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-08 22:35:34 | command: <data><node>node_nhx8m40204</node><entry><content>content_qagc890205</content></entry></data> 2022-09-08 22:35:34 | target: http://localhost:8088 2022-09-08 22:35:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-08 22:35:34 | entity: <data><node>node_nhx8m40204</node><entry><content>content_qagc890205</content></entry></data> 2022-09-08 22:35:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Sep 2022 05:35:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-08 22:35:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4640092e-aa8c-4ee3-bc30-0b6e74f73846</value></item-id></result> 2022-09-08 22:35:35 | contains: true 2022-09-08 22:35:35 | [Mutex] received everything. 2022-09-08 22:35:35 | [Mutex] isItemNotified: user_regularhno3m30203@test-domain.com:message:received:content_qagc890205 :: true 2022-09-08 22:35:35 | ===== publishing already old message - expecting message being filtered out (to online) 2022-09-08 22:35:35 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-08 22:35:35 | command: <data><node>node_nhx8m40204</node><expire-at>2022-09-09T05:35:30Z</expire-at><entry><content>content_mpvpsa0206</content></entry></data> 2022-09-08 22:35:35 | target: http://localhost:8088 2022-09-08 22:35:35 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-08 22:35:35 | entity: <data><node>node_nhx8m40204</node><expire-at>2022-09-09T05:35:30Z</expire-at><entry><content>content_mpvpsa0206</content></entry></data> 2022-09-08 22:35:35 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Sep 2022 05:35:35 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-08 22:35:35 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7ad16a92-c274-4040-ad37-dc0b5a8915fd</value></item-id></result> 2022-09-08 22:35:35 | contains: true 2022-09-08 22:35:35 | [Mutex] waiting for: [user_regularhno3m30203@test-domain.com:message:received:content_mpvpsa0206] 2022-09-08 22:35:50 | [Mutex] timeout. Not received [user_regularhno3m30203@test-domain.com:message:received:content_mpvpsa0206] 2022-09-08 22:35:50 | [Mutex] isItemNotified: user_regularhno3m30203@test-domain.com:message:received:content_mpvpsa0206 :: false 2022-09-08 22:35:50 | ===== publishing normal message (to offline) 2022-09-08 22:35:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-08 22:35:50 | command: <data><node>node_nhx8m40204</node><entry><content>content_uol9280207</content></entry></data> 2022-09-08 22:35:50 | target: http://localhost:8088 2022-09-08 22:35:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-08 22:35:50 | entity: <data><node>node_nhx8m40204</node><entry><content>content_uol9280207</content></entry></data> 2022-09-08 22:35:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Sep 2022 05:35:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-08 22:35:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>19d50497-2446-4458-8630-ff6bcfad0b4c</value></item-id></result> 2022-09-08 22:35:50 | contains: true 2022-09-08 22:35:55 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-08 22:35:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-09-08 22:35:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-08 22:35:55 | [Mutex] waiting for: [user_regularhno3m30203@test-domain.com:message:received:content_uol9280207] 2022-09-08 22:35:55 | [Mutex] waiting for: [user_regularhno3m30203@test-domain.com:message:received:content_uol9280207] 2022-09-08 22:35:55 | [Mutex] received everything. 2022-09-08 22:35:55 | [Mutex] isItemNotified: user_regularhno3m30203@test-domain.com:message:received:content_uol9280207 :: true 2022-09-08 22:35:55 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-09-08 22:35:55 | [Mutex] received everything. 2022-09-08 22:35:55 | [Mutex] isItemNotified: node_nhx8m40204:subscribe_node:success :: true 2022-09-08 22:35:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-08 22:35:55 | command: <data><node>node_nhx8m40204</node><expire-at>2022-09-09T05:36:00Z</expire-at><entry><content>content_drmzot0208</content></entry></data> 2022-09-08 22:35:55 | target: http://localhost:8088 2022-09-08 22:35:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-08 22:35:55 | entity: <data><node>node_nhx8m40204</node><expire-at>2022-09-09T05:36:00Z</expire-at><entry><content>content_drmzot0208</content></entry></data> 2022-09-08 22:35:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 09 Sep 2022 05:35:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-08 22:35:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ff45ced9-571d-4891-a05f-887317509e51</value></item-id></result> 2022-09-08 22:35:55 | contains: true 2022-09-08 22:36:03 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-08 22:36:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-09-08 22:36:03 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-08 22:36:03 | [Mutex] waiting for: [user_regularhno3m30203@test-domain.com:message:received:content_drmzot0208] 2022-09-08 22:36:18 | [Mutex] timeout. Not received [user_regularhno3m30203@test-domain.com:message:received:content_drmzot0208] 2022-09-08 22:36:18 | [Mutex] received everything. 2022-09-08 22:36:18 | [Mutex] isItemNotified: user_regularhno3m30203@test-domain.com:message:received:content_drmzot0208 :: false 2022-09-08 22:36:18 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_drmzot0208 :: true |