Test duration : 44.820s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.608s |
2023-03-05 21:29:51 |
2023-03-05 21:29:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2023-03-05 21:29:51 | ------------------------------------ 2023-03-05 21:29:51 | [Mutex] isItemNotified: node_98rhpq0204:exists :: false 2023-03-05 21:29:51 | [Mutex] waiting for: [node_98rhpq0204:create_node] 2023-03-05 21:29:51 | [Mutex] received everything. 2023-03-05 21:29:51 | [Mutex] isItemNotified: node_98rhpq0204:create_node:success :: true 2023-03-05 21:29:51 | [Mutex] waiting for: [node_98rhpq0204:subscribe_node] 2023-03-05 21:29:51 | [Mutex] waiting for: [node_98rhpq0204:subscribe_node] 2023-03-05 21:29:51 | [Mutex] received everything. 2023-03-05 21:29:51 | [Mutex] isItemNotified: node_98rhpq0204:subscribe_node:success :: true 2023-03-05 21:29:51 | ===== publishing normal message (to online) 2023-03-05 21:29:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-05 21:29:51 | command: <data><node>node_98rhpq0204</node><entry><content>content_j57nye0205</content></entry></data> 2023-03-05 21:29:51 | target: http://localhost:8088 2023-03-05 21:29:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-05 21:29:51 | entity: <data><node>node_98rhpq0204</node><entry><content>content_j57nye0205</content></entry></data> 2023-03-05 21:29:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 05:29:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-05 21:29:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>0dbc4a35-5d2c-4b68-af10-aea4eb52b876</value></item-id></result> 2023-03-05 21:29:51 | contains: true 2023-03-05 21:29:51 | [Mutex] received everything. 2023-03-05 21:29:51 | [Mutex] isItemNotified: user_regulars5ipcb0203@test-domain.com:message:received:content_j57nye0205 :: true 2023-03-05 21:29:51 | ===== publishing already old message - expecting message being filtered out (to online) 2023-03-05 21:29:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-05 21:29:51 | command: <data><node>node_98rhpq0204</node><expire-at>2023-03-06T05:29:46Z</expire-at><entry><content>content_ozf8s30206</content></entry></data> 2023-03-05 21:29:51 | target: http://localhost:8088 2023-03-05 21:29:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-05 21:29:51 | entity: <data><node>node_98rhpq0204</node><expire-at>2023-03-06T05:29:46Z</expire-at><entry><content>content_ozf8s30206</content></entry></data> 2023-03-05 21:29:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 05:29:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-05 21:29:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>23415b41-4e42-4a83-8e2b-34123e7b24d5</value></item-id></result> 2023-03-05 21:29:51 | contains: true 2023-03-05 21:29:51 | [Mutex] waiting for: [user_regulars5ipcb0203@test-domain.com:message:received:content_ozf8s30206] 2023-03-05 21:30:06 | [Mutex] timeout. Not received [user_regulars5ipcb0203@test-domain.com:message:received:content_ozf8s30206] 2023-03-05 21:30:06 | [Mutex] isItemNotified: user_regulars5ipcb0203@test-domain.com:message:received:content_ozf8s30206 :: false 2023-03-05 21:30:06 | ===== publishing normal message (to offline) 2023-03-05 21:30:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-05 21:30:06 | command: <data><node>node_98rhpq0204</node><entry><content>content_7p0f9o0207</content></entry></data> 2023-03-05 21:30:06 | target: http://localhost:8088 2023-03-05 21:30:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2023-03-05 21:30:06 | entity: <data><node>node_98rhpq0204</node><entry><content>content_7p0f9o0207</content></entry></data> 2023-03-05 21:30:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 05:30:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-05 21:30:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>13132380-f166-4f12-acfc-317738f0b1bc</value></item-id></result> 2023-03-05 21:30:06 | contains: true 2023-03-05 21:30:11 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-05 21:30:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2023-03-05 21:30:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-05 21:30:12 | [Mutex] waiting for: [user_regulars5ipcb0203@test-domain.com:message:received:content_7p0f9o0207] 2023-03-05 21:30:12 | [Mutex] waiting for: [user_regulars5ipcb0203@test-domain.com:message:received:content_7p0f9o0207] 2023-03-05 21:30:12 | [Mutex] received everything. 2023-03-05 21:30:12 | [Mutex] isItemNotified: user_regulars5ipcb0203@test-domain.com:message:received:content_7p0f9o0207 :: true 2023-03-05 21:30:12 | ===== publishing already old message - expecting message being filtered out (to offline) 2023-03-05 21:30:12 | [Mutex] received everything. 2023-03-05 21:30:12 | [Mutex] isItemNotified: node_98rhpq0204:subscribe_node:success :: true 2023-03-05 21:30:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2023-03-05 21:30:12 | command: <data><node>node_98rhpq0204</node><expire-at>2023-03-06T05:30:17Z</expire-at><entry><content>content_ryanr90208</content></entry></data> 2023-03-05 21:30:12 | target: http://localhost:8088 2023-03-05 21:30:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2023-03-05 21:30:12 | entity: <data><node>node_98rhpq0204</node><expire-at>2023-03-06T05:30:17Z</expire-at><entry><content>content_ryanr90208</content></entry></data> 2023-03-05 21:30:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 05:30:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2023-03-05 21:30:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ceb56242-e826-42e2-871d-49539726938c</value></item-id></result> 2023-03-05 21:30:12 | contains: true 2023-03-05 21:30:20 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2023-03-05 21:30:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2023-03-05 21:30:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2023-03-05 21:30:20 | [Mutex] waiting for: [user_regulars5ipcb0203@test-domain.com:message:received:content_ryanr90208] 2023-03-05 21:30:20 | [Mutex] waiting for: [user_regulars5ipcb0203@test-domain.com:message:received:content_ryanr90208] 2023-03-05 21:30:35 | [Mutex] timeout. Not received [user_regulars5ipcb0203@test-domain.com:message:received:content_ryanr90208] 2023-03-05 21:30:35 | [Mutex] received everything. 2023-03-05 21:30:35 | [Mutex] isItemNotified: user_regulars5ipcb0203@test-domain.com:message:received:content_ryanr90208 :: false 2023-03-05 21:30:35 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ryanr90208 :: true |