Test duration : 44.760s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.615s |
2022-06-01 23:17:06 |
2022-06-01 23:17:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-01 23:17:06 | ------------------------------------ 2022-06-01 23:17:06 | [Mutex] isItemNotified: node_1j96n50204:exists :: false 2022-06-01 23:17:06 | [Mutex] waiting for: [node_1j96n50204:create_node] 2022-06-01 23:17:06 | [Mutex] received everything. 2022-06-01 23:17:06 | [Mutex] isItemNotified: node_1j96n50204:create_node:success :: true 2022-06-01 23:17:06 | [Mutex] waiting for: [node_1j96n50204:subscribe_node] 2022-06-01 23:17:06 | [Mutex] received everything. 2022-06-01 23:17:06 | [Mutex] isItemNotified: node_1j96n50204:subscribe_node:success :: true 2022-06-01 23:17:06 | ===== publishing normal message (to online) 2022-06-01 23:17:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-01 23:17:06 | command: <data><node>node_1j96n50204</node><entry><content>content_ukq6ex0205</content></entry></data> 2022-06-01 23:17:06 | target: http://localhost:8088 2022-06-01 23:17:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-01 23:17:06 | entity: <data><node>node_1j96n50204</node><entry><content>content_ukq6ex0205</content></entry></data> 2022-06-01 23:17:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Jun 2022 06:17:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-01 23:17:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>033aea68-4988-41d4-8906-ac85e600d37a</value></item-id></result> 2022-06-01 23:17:06 | contains: true 2022-06-01 23:17:06 | [Mutex] received everything. 2022-06-01 23:17:06 | [Mutex] isItemNotified: user_regularg31zgr0203@test-domain.com:message:received:content_ukq6ex0205 :: true 2022-06-01 23:17:06 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-01 23:17:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-01 23:17:06 | command: <data><node>node_1j96n50204</node><expire-at>2022-06-02T06:17:01Z</expire-at><entry><content>content_fzsznd0206</content></entry></data> 2022-06-01 23:17:06 | target: http://localhost:8088 2022-06-01 23:17:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-01 23:17:06 | entity: <data><node>node_1j96n50204</node><expire-at>2022-06-02T06:17:01Z</expire-at><entry><content>content_fzsznd0206</content></entry></data> 2022-06-01 23:17:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Jun 2022 06:17:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-01 23:17:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>385fa9a0-82fe-4952-8c83-56fb0d8b0aca</value></item-id></result> 2022-06-01 23:17:06 | contains: true 2022-06-01 23:17:06 | [Mutex] waiting for: [user_regularg31zgr0203@test-domain.com:message:received:content_fzsznd0206] 2022-06-01 23:17:21 | [Mutex] timeout. Not received [user_regularg31zgr0203@test-domain.com:message:received:content_fzsznd0206] 2022-06-01 23:17:21 | [Mutex] isItemNotified: user_regularg31zgr0203@test-domain.com:message:received:content_fzsznd0206 :: false 2022-06-01 23:17:21 | ===== publishing normal message (to offline) 2022-06-01 23:17:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-01 23:17:21 | command: <data><node>node_1j96n50204</node><entry><content>content_vc3isn0207</content></entry></data> 2022-06-01 23:17:21 | target: http://localhost:8088 2022-06-01 23:17:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-01 23:17:21 | entity: <data><node>node_1j96n50204</node><entry><content>content_vc3isn0207</content></entry></data> 2022-06-01 23:17:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Jun 2022 06:17:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-01 23:17:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>85702931-26c7-483e-8bd8-15e6f2ade9b1</value></item-id></result> 2022-06-01 23:17:21 | contains: true 2022-06-01 23:17:26 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-01 23:17:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-01 23:17:26 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-01 23:17:26 | [Mutex] waiting for: [user_regularg31zgr0203@test-domain.com:message:received:content_vc3isn0207] 2022-06-01 23:17:26 | [Mutex] waiting for: [user_regularg31zgr0203@test-domain.com:message:received:content_vc3isn0207] 2022-06-01 23:17:26 | [Mutex] received everything. 2022-06-01 23:17:26 | [Mutex] isItemNotified: user_regularg31zgr0203@test-domain.com:message:received:content_vc3isn0207 :: true 2022-06-01 23:17:26 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-01 23:17:26 | [Mutex] received everything. 2022-06-01 23:17:26 | [Mutex] isItemNotified: node_1j96n50204:subscribe_node:success :: true 2022-06-01 23:17:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-01 23:17:26 | command: <data><node>node_1j96n50204</node><expire-at>2022-06-02T06:17:31Z</expire-at><entry><content>content_z06v0e0208</content></entry></data> 2022-06-01 23:17:26 | target: http://localhost:8088 2022-06-01 23:17:26 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-01 23:17:26 | entity: <data><node>node_1j96n50204</node><expire-at>2022-06-02T06:17:31Z</expire-at><entry><content>content_z06v0e0208</content></entry></data> 2022-06-01 23:17:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 02 Jun 2022 06:17:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-01 23:17:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>72e4a369-1e5a-4e44-847b-14093d362363</value></item-id></result> 2022-06-01 23:17:27 | contains: true 2022-06-01 23:17:35 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-01 23:17:35 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-01 23:17:35 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-01 23:17:35 | [Mutex] waiting for: [user_regularg31zgr0203@test-domain.com:message:received:content_z06v0e0208] 2022-06-01 23:17:35 | [Mutex] waiting for: [user_regularg31zgr0203@test-domain.com:message:received:content_z06v0e0208] 2022-06-01 23:17:50 | [Mutex] timeout. Not received [user_regularg31zgr0203@test-domain.com:message:received:content_z06v0e0208] 2022-06-01 23:17:50 | [Mutex] received everything. 2022-06-01 23:17:50 | [Mutex] isItemNotified: user_regularg31zgr0203@test-domain.com:message:received:content_z06v0e0208 :: false 2022-06-01 23:17:50 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_z06v0e0208 :: true |