Test duration : 44.711s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.570s |
2022-05-17 22:50:48 |
2022-05-17 22:50:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-05-17 22:50:48 | ------------------------------------ 2022-05-17 22:50:48 | [Mutex] isItemNotified: node_t49d1o0204:exists :: false 2022-05-17 22:50:48 | [Mutex] waiting for: [node_t49d1o0204:create_node] 2022-05-17 22:50:48 | [Mutex] received everything. 2022-05-17 22:50:48 | [Mutex] isItemNotified: node_t49d1o0204:create_node:success :: true 2022-05-17 22:50:48 | [Mutex] waiting for: [node_t49d1o0204:subscribe_node] 2022-05-17 22:50:48 | [Mutex] received everything. 2022-05-17 22:50:48 | [Mutex] isItemNotified: node_t49d1o0204:subscribe_node:success :: true 2022-05-17 22:50:48 | ===== publishing normal message (to online) 2022-05-17 22:50:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-17 22:50:48 | command: <data><node>node_t49d1o0204</node><entry><content>content_5978a50205</content></entry></data> 2022-05-17 22:50:48 | target: http://localhost:8088 2022-05-17 22:50:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-17 22:50:48 | entity: <data><node>node_t49d1o0204</node><entry><content>content_5978a50205</content></entry></data> 2022-05-17 22:50:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 18 May 2022 05:50:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-17 22:50:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9038b882-ca80-4969-ae8c-3f5898a997de</value></item-id></result> 2022-05-17 22:50:48 | contains: true 2022-05-17 22:50:48 | [Mutex] received everything. 2022-05-17 22:50:48 | [Mutex] isItemNotified: user_regularxz87j80203@test-domain.com:message:received:content_5978a50205 :: true 2022-05-17 22:50:48 | ===== publishing already old message - expecting message being filtered out (to online) 2022-05-17 22:50:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-17 22:50:48 | command: <data><node>node_t49d1o0204</node><expire-at>2022-05-18T05:50:43Z</expire-at><entry><content>content_1hj8de0206</content></entry></data> 2022-05-17 22:50:48 | target: http://localhost:8088 2022-05-17 22:50:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-17 22:50:48 | entity: <data><node>node_t49d1o0204</node><expire-at>2022-05-18T05:50:43Z</expire-at><entry><content>content_1hj8de0206</content></entry></data> 2022-05-17 22:50:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 18 May 2022 05:50:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-17 22:50:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cdc6d0b4-9a49-4d86-a3df-28a959362193</value></item-id></result> 2022-05-17 22:50:48 | contains: true 2022-05-17 22:50:48 | [Mutex] waiting for: [user_regularxz87j80203@test-domain.com:message:received:content_1hj8de0206] 2022-05-17 22:51:03 | [Mutex] timeout. Not received [user_regularxz87j80203@test-domain.com:message:received:content_1hj8de0206] 2022-05-17 22:51:03 | [Mutex] isItemNotified: user_regularxz87j80203@test-domain.com:message:received:content_1hj8de0206 :: false 2022-05-17 22:51:03 | ===== publishing normal message (to offline) 2022-05-17 22:51:03 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-17 22:51:03 | command: <data><node>node_t49d1o0204</node><entry><content>content_vv6tdn0207</content></entry></data> 2022-05-17 22:51:03 | target: http://localhost:8088 2022-05-17 22:51:03 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-17 22:51:03 | entity: <data><node>node_t49d1o0204</node><entry><content>content_vv6tdn0207</content></entry></data> 2022-05-17 22:51:03 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 18 May 2022 05:51:03 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-17 22:51:03 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>36f454e6-c87b-4f20-bd55-574a6bf02d38</value></item-id></result> 2022-05-17 22:51:03 | contains: true 2022-05-17 22:51:08 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-17 22:51:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-05-17 22:51:08 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-17 22:51:09 | [Mutex] waiting for: [user_regularxz87j80203@test-domain.com:message:received:content_vv6tdn0207] 2022-05-17 22:51:09 | [Mutex] received everything. 2022-05-17 22:51:09 | [Mutex] isItemNotified: user_regularxz87j80203@test-domain.com:message:received:content_vv6tdn0207 :: true 2022-05-17 22:51:09 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-05-17 22:51:09 | [Mutex] received everything. 2022-05-17 22:51:09 | [Mutex] isItemNotified: node_t49d1o0204:subscribe_node:success :: true 2022-05-17 22:51:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-17 22:51:09 | command: <data><node>node_t49d1o0204</node><expire-at>2022-05-18T05:51:14Z</expire-at><entry><content>content_pr13d90208</content></entry></data> 2022-05-17 22:51:09 | target: http://localhost:8088 2022-05-17 22:51:09 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-17 22:51:09 | entity: <data><node>node_t49d1o0204</node><expire-at>2022-05-18T05:51:14Z</expire-at><entry><content>content_pr13d90208</content></entry></data> 2022-05-17 22:51:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 18 May 2022 05:51:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-17 22:51:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>117fb508-09f1-4026-82fd-a6f3c4d52256</value></item-id></result> 2022-05-17 22:51:09 | contains: true 2022-05-17 22:51:17 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-17 22:51:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-05-17 22:51:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-17 22:51:17 | [Mutex] waiting for: [user_regularxz87j80203@test-domain.com:message:received:content_pr13d90208] 2022-05-17 22:51:32 | [Mutex] timeout. Not received [user_regularxz87j80203@test-domain.com:message:received:content_pr13d90208] 2022-05-17 22:51:32 | [Mutex] received everything. 2022-05-17 22:51:32 | [Mutex] isItemNotified: user_regularxz87j80203@test-domain.com:message:received:content_pr13d90208 :: false 2022-05-17 22:51:32 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pr13d90208 :: true |