Test duration : 44.511s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.639s |
2023-01-10 21:58:50 |
2023-01-10 21:58:50 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-01-10 21:58:50 | ------------------------------------ 2023-01-10 21:58:50 | [Mutex] isItemNotified: node_7qq9i00204:exists :: false 2023-01-10 21:58:50 | [Mutex] waiting for: [node_7qq9i00204:create_node] 2023-01-10 21:58:50 | [Mutex] received everything. 2023-01-10 21:58:50 | [Mutex] isItemNotified: node_7qq9i00204:create_node:success :: true 2023-01-10 21:58:50 | [Mutex] waiting for: [node_7qq9i00204:subscribe_node] 2023-01-10 21:58:50 | [Mutex] received everything. 2023-01-10 21:58:50 | [Mutex] isItemNotified: node_7qq9i00204:subscribe_node:success :: true 2023-01-10 21:58:50 | ===== publishing normal message (to online) 2023-01-10 21:58:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-01-10 21:58:50 | command: <data><node>node_7qq9i00204</node><entry><content>content_jhd9xt0205</content></entry></data> 2023-01-10 21:58:50 | target: http://localhost:8088 2023-01-10 21:58:50 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-01-10 21:58:50 | entity: <data><node>node_7qq9i00204</node><entry><content>content_jhd9xt0205</content></entry></data> 2023-01-10 21:58:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 Jan 2023 05:58:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-01-10 21:58:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4c91b4b2-f98b-4cd6-bec6-f198f91ed57c</value></item-id></result> 2023-01-10 21:58:50 | contains: true 2023-01-10 21:58:50 | [Mutex] received everything. 2023-01-10 21:58:50 | [Mutex] isItemNotified: user_regularpf73wk0203@test-domain.com:message:received:content_jhd9xt0205 :: true 2023-01-10 21:58:50 | ===== publishing already old message - expecting message being filtered out (to online) 2023-01-10 21:58:50 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-01-10 21:58:50 | command: <data><node>node_7qq9i00204</node><expire-at>2023-01-11T05:58:45Z</expire-at><entry><content>content_rjxohn0206</content></entry></data> 2023-01-10 21:58:50 | target: http://localhost:8088 2023-01-10 21:58:50 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-01-10 21:58:50 | entity: <data><node>node_7qq9i00204</node><expire-at>2023-01-11T05:58:45Z</expire-at><entry><content>content_rjxohn0206</content></entry></data> 2023-01-10 21:58:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 Jan 2023 05:58:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-01-10 21:58:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>92af9988-dc6d-4c4d-b21d-7be0f8765c99</value></item-id></result> 2023-01-10 21:58:50 | contains: true 2023-01-10 21:58:50 | [Mutex] waiting for: [user_regularpf73wk0203@test-domain.com:message:received:content_rjxohn0206] 2023-01-10 21:59:05 | [Mutex] timeout. Not received [user_regularpf73wk0203@test-domain.com:message:received:content_rjxohn0206] 2023-01-10 21:59:05 | [Mutex] isItemNotified: user_regularpf73wk0203@test-domain.com:message:received:content_rjxohn0206 :: false 2023-01-10 21:59:05 | ===== publishing normal message (to offline) 2023-01-10 21:59:05 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-01-10 21:59:05 | command: <data><node>node_7qq9i00204</node><entry><content>content_d27cum0207</content></entry></data> 2023-01-10 21:59:05 | target: http://localhost:8088 2023-01-10 21:59:05 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-01-10 21:59:05 | entity: <data><node>node_7qq9i00204</node><entry><content>content_d27cum0207</content></entry></data> 2023-01-10 21:59:05 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 Jan 2023 05:59:05 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-01-10 21:59:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>fc51aa25-3a0a-4c15-9d26-b60e9f744268</value></item-id></result> 2023-01-10 21:59:05 | contains: true 2023-01-10 21:59:10 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-01-10 21:59:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2023-01-10 21:59:10 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-01-10 21:59:11 | [Mutex] waiting for: [user_regularpf73wk0203@test-domain.com:message:received:content_d27cum0207] 2023-01-10 21:59:11 | [Mutex] waiting for: [user_regularpf73wk0203@test-domain.com:message:received:content_d27cum0207] 2023-01-10 21:59:11 | [Mutex] received everything. 2023-01-10 21:59:11 | [Mutex] isItemNotified: user_regularpf73wk0203@test-domain.com:message:received:content_d27cum0207 :: true 2023-01-10 21:59:11 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-01-10 21:59:11 | [Mutex] received everything. 2023-01-10 21:59:11 | [Mutex] isItemNotified: node_7qq9i00204:subscribe_node:success :: true 2023-01-10 21:59:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-01-10 21:59:11 | command: <data><node>node_7qq9i00204</node><expire-at>2023-01-11T05:59:16Z</expire-at><entry><content>content_gk6ed90208</content></entry></data> 2023-01-10 21:59:11 | target: http://localhost:8088 2023-01-10 21:59:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-01-10 21:59:11 | entity: <data><node>node_7qq9i00204</node><expire-at>2023-01-11T05:59:16Z</expire-at><entry><content>content_gk6ed90208</content></entry></data> 2023-01-10 21:59:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 11 Jan 2023 05:59:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-01-10 21:59:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d0e6cc42-0c26-467e-801e-5ffdf97c86b7</value></item-id></result> 2023-01-10 21:59:11 | contains: true 2023-01-10 21:59:19 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-01-10 21:59:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2023-01-10 21:59:19 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-01-10 21:59:19 | [Mutex] waiting for: [user_regularpf73wk0203@test-domain.com:message:received:content_gk6ed90208] 2023-01-10 21:59:19 | [Mutex] waiting for: [user_regularpf73wk0203@test-domain.com:message:received:content_gk6ed90208] 2023-01-10 21:59:19 | [Mutex] waiting for: [user_regularpf73wk0203@test-domain.com:message:received:content_gk6ed90208] 2023-01-10 21:59:34 | [Mutex] timeout. Not received [user_regularpf73wk0203@test-domain.com:message:received:content_gk6ed90208] 2023-01-10 21:59:34 | [Mutex] received everything. 2023-01-10 21:59:34 | [Mutex] isItemNotified: user_regularpf73wk0203@test-domain.com:message:received:content_gk6ed90208 :: false 2023-01-10 21:59:34 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_gk6ed90208 :: true |