Test duration : 44.828s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.629s |
2022-08-16 22:33:18 |
2022-08-16 22:33:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-16 22:33:18 | ------------------------------------ 2022-08-16 22:33:18 | [Mutex] isItemNotified: node_tad16a0204:exists :: false 2022-08-16 22:33:18 | [Mutex] waiting for: [node_tad16a0204:create_node] 2022-08-16 22:33:18 | [Mutex] received everything. 2022-08-16 22:33:18 | [Mutex] isItemNotified: node_tad16a0204:create_node:success :: true 2022-08-16 22:33:18 | [Mutex] waiting for: [node_tad16a0204:subscribe_node] 2022-08-16 22:33:18 | [Mutex] received everything. 2022-08-16 22:33:18 | [Mutex] isItemNotified: node_tad16a0204:subscribe_node:success :: true 2022-08-16 22:33:18 | ===== publishing normal message (to online) 2022-08-16 22:33:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-16 22:33:18 | command: <data><node>node_tad16a0204</node><entry><content>content_15apho0205</content></entry></data> 2022-08-16 22:33:18 | target: http://localhost:8088 2022-08-16 22:33:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-16 22:33:18 | entity: <data><node>node_tad16a0204</node><entry><content>content_15apho0205</content></entry></data> 2022-08-16 22:33:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Aug 2022 05:33:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-16 22:33:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fa187b45-991a-4181-9f6d-f062d610abad</value></item-id></result> 2022-08-16 22:33:18 | contains: true 2022-08-16 22:33:18 | [Mutex] received everything. 2022-08-16 22:33:18 | [Mutex] isItemNotified: user_regularhqr70j0203@test-domain.com:message:received:content_15apho0205 :: true 2022-08-16 22:33:18 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-16 22:33:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-16 22:33:18 | command: <data><node>node_tad16a0204</node><expire-at>2022-08-17T05:33:13Z</expire-at><entry><content>content_npva9o0206</content></entry></data> 2022-08-16 22:33:18 | target: http://localhost:8088 2022-08-16 22:33:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-16 22:33:18 | entity: <data><node>node_tad16a0204</node><expire-at>2022-08-17T05:33:13Z</expire-at><entry><content>content_npva9o0206</content></entry></data> 2022-08-16 22:33:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Aug 2022 05:33:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-16 22:33:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>83891a5b-0262-47db-8e4a-98ce152078b1</value></item-id></result> 2022-08-16 22:33:18 | contains: true 2022-08-16 22:33:18 | [Mutex] waiting for: [user_regularhqr70j0203@test-domain.com:message:received:content_npva9o0206] 2022-08-16 22:33:33 | [Mutex] timeout. Not received [user_regularhqr70j0203@test-domain.com:message:received:content_npva9o0206] 2022-08-16 22:33:33 | [Mutex] isItemNotified: user_regularhqr70j0203@test-domain.com:message:received:content_npva9o0206 :: false 2022-08-16 22:33:33 | ===== publishing normal message (to offline) 2022-08-16 22:33:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-16 22:33:33 | command: <data><node>node_tad16a0204</node><entry><content>content_z7kqo10207</content></entry></data> 2022-08-16 22:33:33 | target: http://localhost:8088 2022-08-16 22:33:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-16 22:33:33 | entity: <data><node>node_tad16a0204</node><entry><content>content_z7kqo10207</content></entry></data> 2022-08-16 22:33:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Aug 2022 05:33:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-16 22:33:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b5a5f3dc-8a6a-411b-87f7-bc8a366203b8</value></item-id></result> 2022-08-16 22:33:34 | contains: true 2022-08-16 22:33:39 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-16 22:33:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-16 22:33:39 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-16 22:33:39 | [Mutex] waiting for: [user_regularhqr70j0203@test-domain.com:message:received:content_z7kqo10207] 2022-08-16 22:33:39 | [Mutex] waiting for: [user_regularhqr70j0203@test-domain.com:message:received:content_z7kqo10207] 2022-08-16 22:33:39 | [Mutex] received everything. 2022-08-16 22:33:39 | [Mutex] isItemNotified: user_regularhqr70j0203@test-domain.com:message:received:content_z7kqo10207 :: true 2022-08-16 22:33:39 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-16 22:33:39 | [Mutex] received everything. 2022-08-16 22:33:39 | [Mutex] isItemNotified: node_tad16a0204:subscribe_node:success :: true 2022-08-16 22:33:39 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-16 22:33:39 | command: <data><node>node_tad16a0204</node><expire-at>2022-08-17T05:33:44Z</expire-at><entry><content>content_rkhipe0208</content></entry></data> 2022-08-16 22:33:39 | target: http://localhost:8088 2022-08-16 22:33:39 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-16 22:33:39 | entity: <data><node>node_tad16a0204</node><expire-at>2022-08-17T05:33:44Z</expire-at><entry><content>content_rkhipe0208</content></entry></data> 2022-08-16 22:33:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 17 Aug 2022 05:33:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-16 22:33:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a7aef40c-ee94-4570-8695-c8d95f68d43b</value></item-id></result> 2022-08-16 22:33:39 | contains: true 2022-08-16 22:33:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-16 22:33:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-16 22:33:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-16 22:33:47 | [Mutex] waiting for: [user_regularhqr70j0203@test-domain.com:message:received:content_rkhipe0208] 2022-08-16 22:33:47 | [Mutex] waiting for: [user_regularhqr70j0203@test-domain.com:message:received:content_rkhipe0208] 2022-08-16 22:34:02 | [Mutex] timeout. Not received [user_regularhqr70j0203@test-domain.com:message:received:content_rkhipe0208] 2022-08-16 22:34:02 | [Mutex] received everything. 2022-08-16 22:34:02 | [Mutex] isItemNotified: user_regularhqr70j0203@test-domain.com:message:received:content_rkhipe0208 :: false 2022-08-16 22:34:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_rkhipe0208 :: true |