Test duration : 44.821s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.619s |
2022-07-19 22:33:12 |
2022-07-19 22:33:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-19 22:33:12 | ------------------------------------ 2022-07-19 22:33:12 | [Mutex] isItemNotified: node_3zwm5p0204:exists :: false 2022-07-19 22:33:12 | [Mutex] waiting for: [node_3zwm5p0204:create_node] 2022-07-19 22:33:12 | [Mutex] received everything. 2022-07-19 22:33:12 | [Mutex] isItemNotified: node_3zwm5p0204:create_node:success :: true 2022-07-19 22:33:12 | [Mutex] waiting for: [node_3zwm5p0204:subscribe_node] 2022-07-19 22:33:12 | [Mutex] waiting for: [node_3zwm5p0204:subscribe_node] 2022-07-19 22:33:12 | [Mutex] received everything. 2022-07-19 22:33:12 | [Mutex] isItemNotified: node_3zwm5p0204:subscribe_node:success :: true 2022-07-19 22:33:12 | ===== publishing normal message (to online) 2022-07-19 22:33:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-19 22:33:12 | command: <data><node>node_3zwm5p0204</node><entry><content>content_exe67n0205</content></entry></data> 2022-07-19 22:33:12 | target: http://localhost:8088 2022-07-19 22:33:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-19 22:33:12 | entity: <data><node>node_3zwm5p0204</node><entry><content>content_exe67n0205</content></entry></data> 2022-07-19 22:33:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 20 Jul 2022 05:33:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-19 22:33:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>68eb2673-5d80-4ace-b7a7-db89babdb565</value></item-id></result> 2022-07-19 22:33:12 | contains: true 2022-07-19 22:33:12 | [Mutex] received everything. 2022-07-19 22:33:12 | [Mutex] isItemNotified: user_regularxh69g10203@test-domain.com:message:received:content_exe67n0205 :: true 2022-07-19 22:33:12 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-19 22:33:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-19 22:33:12 | command: <data><node>node_3zwm5p0204</node><expire-at>2022-07-20T05:33:07Z</expire-at><entry><content>content_qbaj7m0206</content></entry></data> 2022-07-19 22:33:12 | target: http://localhost:8088 2022-07-19 22:33:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-19 22:33:12 | entity: <data><node>node_3zwm5p0204</node><expire-at>2022-07-20T05:33:07Z</expire-at><entry><content>content_qbaj7m0206</content></entry></data> 2022-07-19 22:33:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 20 Jul 2022 05:33:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-19 22:33:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4cac2243-959a-4ae6-8f32-74fd67c51fda</value></item-id></result> 2022-07-19 22:33:12 | contains: true 2022-07-19 22:33:12 | [Mutex] waiting for: [user_regularxh69g10203@test-domain.com:message:received:content_qbaj7m0206] 2022-07-19 22:33:27 | [Mutex] timeout. Not received [user_regularxh69g10203@test-domain.com:message:received:content_qbaj7m0206] 2022-07-19 22:33:27 | [Mutex] isItemNotified: user_regularxh69g10203@test-domain.com:message:received:content_qbaj7m0206 :: false 2022-07-19 22:33:27 | ===== publishing normal message (to offline) 2022-07-19 22:33:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-19 22:33:27 | command: <data><node>node_3zwm5p0204</node><entry><content>content_5hyykc0207</content></entry></data> 2022-07-19 22:33:27 | target: http://localhost:8088 2022-07-19 22:33:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-19 22:33:27 | entity: <data><node>node_3zwm5p0204</node><entry><content>content_5hyykc0207</content></entry></data> 2022-07-19 22:33:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 20 Jul 2022 05:33:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-19 22:33:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a9dbcdee-98cb-42ad-86ec-993be37f3cff</value></item-id></result> 2022-07-19 22:33:27 | contains: true 2022-07-19 22:33:32 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-19 22:33:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-19 22:33:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-19 22:33:32 | [Mutex] waiting for: [user_regularxh69g10203@test-domain.com:message:received:content_5hyykc0207] 2022-07-19 22:33:32 | [Mutex] waiting for: [user_regularxh69g10203@test-domain.com:message:received:content_5hyykc0207] 2022-07-19 22:33:32 | [Mutex] received everything. 2022-07-19 22:33:32 | [Mutex] isItemNotified: user_regularxh69g10203@test-domain.com:message:received:content_5hyykc0207 :: true 2022-07-19 22:33:32 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-19 22:33:32 | [Mutex] received everything. 2022-07-19 22:33:32 | [Mutex] isItemNotified: node_3zwm5p0204:subscribe_node:success :: true 2022-07-19 22:33:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-19 22:33:32 | command: <data><node>node_3zwm5p0204</node><expire-at>2022-07-20T05:33:37Z</expire-at><entry><content>content_986hrv0208</content></entry></data> 2022-07-19 22:33:32 | target: http://localhost:8088 2022-07-19 22:33:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-19 22:33:32 | entity: <data><node>node_3zwm5p0204</node><expire-at>2022-07-20T05:33:37Z</expire-at><entry><content>content_986hrv0208</content></entry></data> 2022-07-19 22:33:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 20 Jul 2022 05:33:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-19 22:33:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6a6bc62f-f978-4d9d-91c7-ca39769de518</value></item-id></result> 2022-07-19 22:33:33 | contains: true 2022-07-19 22:33:41 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-19 22:33:41 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-19 22:33:41 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-19 22:33:41 | [Mutex] waiting for: [user_regularxh69g10203@test-domain.com:message:received:content_986hrv0208] 2022-07-19 22:33:56 | [Mutex] timeout. Not received [user_regularxh69g10203@test-domain.com:message:received:content_986hrv0208] 2022-07-19 22:33:56 | [Mutex] received everything. 2022-07-19 22:33:56 | [Mutex] isItemNotified: user_regularxh69g10203@test-domain.com:message:received:content_986hrv0208 :: false 2022-07-19 22:33:56 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_986hrv0208 :: true |