Test duration : 44.615s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.634s |
2022-10-02 22:37:02 |
2022-10-02 22:37:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-10-02 22:37:02 | ------------------------------------ 2022-10-02 22:37:02 | [Mutex] isItemNotified: node_k9643p0204:exists :: false 2022-10-02 22:37:02 | [Mutex] waiting for: [node_k9643p0204:create_node] 2022-10-02 22:37:02 | [Mutex] waiting for: [node_k9643p0204:create_node] 2022-10-02 22:37:02 | [Mutex] received everything. 2022-10-02 22:37:02 | [Mutex] isItemNotified: node_k9643p0204:create_node:success :: true 2022-10-02 22:37:02 | [Mutex] waiting for: [node_k9643p0204:subscribe_node] 2022-10-02 22:37:02 | [Mutex] waiting for: [node_k9643p0204:subscribe_node] 2022-10-02 22:37:02 | [Mutex] received everything. 2022-10-02 22:37:02 | [Mutex] isItemNotified: node_k9643p0204:subscribe_node:success :: true 2022-10-02 22:37:02 | ===== publishing normal message (to online) 2022-10-02 22:37:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-02 22:37:02 | command: <data><node>node_k9643p0204</node><entry><content>content_y9e5fb0205</content></entry></data> 2022-10-02 22:37:02 | target: http://localhost:8088 2022-10-02 22:37:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-10-02 22:37:02 | entity: <data><node>node_k9643p0204</node><entry><content>content_y9e5fb0205</content></entry></data> 2022-10-02 22:37:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 03 Oct 2022 05:37:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-02 22:37:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4b336522-4078-4bae-878f-1364a3a13381</value></item-id></result> 2022-10-02 22:37:02 | contains: true 2022-10-02 22:37:02 | [Mutex] received everything. 2022-10-02 22:37:02 | [Mutex] isItemNotified: user_regularxhe64a0203@test-domain.com:message:received:content_y9e5fb0205 :: true 2022-10-02 22:37:02 | ===== publishing already old message - expecting message being filtered out (to online) 2022-10-02 22:37:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-02 22:37:02 | command: <data><node>node_k9643p0204</node><expire-at>2022-10-03T05:36:57Z</expire-at><entry><content>content_r2mt0u0206</content></entry></data> 2022-10-02 22:37:02 | target: http://localhost:8088 2022-10-02 22:37:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-10-02 22:37:02 | entity: <data><node>node_k9643p0204</node><expire-at>2022-10-03T05:36:57Z</expire-at><entry><content>content_r2mt0u0206</content></entry></data> 2022-10-02 22:37:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 03 Oct 2022 05:37:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-02 22:37:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>38853d1b-75af-481d-9a4f-a9ef7de37cb7</value></item-id></result> 2022-10-02 22:37:02 | contains: true 2022-10-02 22:37:02 | [Mutex] waiting for: [user_regularxhe64a0203@test-domain.com:message:received:content_r2mt0u0206] 2022-10-02 22:37:17 | [Mutex] timeout. Not received [user_regularxhe64a0203@test-domain.com:message:received:content_r2mt0u0206] 2022-10-02 22:37:17 | [Mutex] isItemNotified: user_regularxhe64a0203@test-domain.com:message:received:content_r2mt0u0206 :: false 2022-10-02 22:37:17 | ===== publishing normal message (to offline) 2022-10-02 22:37:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-02 22:37:17 | command: <data><node>node_k9643p0204</node><entry><content>content_idwkke0207</content></entry></data> 2022-10-02 22:37:17 | target: http://localhost:8088 2022-10-02 22:37:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-10-02 22:37:17 | entity: <data><node>node_k9643p0204</node><entry><content>content_idwkke0207</content></entry></data> 2022-10-02 22:37:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 03 Oct 2022 05:37:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-02 22:37:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5997592f-fe8b-47b6-a1bd-084238fc9700</value></item-id></result> 2022-10-02 22:37:17 | contains: true 2022-10-02 22:37:22 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-10-02 22:37:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-10-02 22:37:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-10-02 22:37:22 | [Mutex] waiting for: [user_regularxhe64a0203@test-domain.com:message:received:content_idwkke0207] 2022-10-02 22:37:22 | [Mutex] received everything. 2022-10-02 22:37:22 | [Mutex] isItemNotified: user_regularxhe64a0203@test-domain.com:message:received:content_idwkke0207 :: true 2022-10-02 22:37:22 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-10-02 22:37:22 | [Mutex] received everything. 2022-10-02 22:37:22 | [Mutex] isItemNotified: node_k9643p0204:subscribe_node:success :: true 2022-10-02 22:37:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-10-02 22:37:22 | command: <data><node>node_k9643p0204</node><expire-at>2022-10-03T05:37:27Z</expire-at><entry><content>content_hap2n60208</content></entry></data> 2022-10-02 22:37:22 | target: http://localhost:8088 2022-10-02 22:37:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-10-02 22:37:22 | entity: <data><node>node_k9643p0204</node><expire-at>2022-10-03T05:37:27Z</expire-at><entry><content>content_hap2n60208</content></entry></data> 2022-10-02 22:37:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 03 Oct 2022 05:37:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-10-02 22:37:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9db36455-48a7-47ab-b502-ea6f108f924f</value></item-id></result> 2022-10-02 22:37:22 | contains: true 2022-10-02 22:37:30 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-10-02 22:37:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-10-02 22:37:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-10-02 22:37:30 | [Mutex] waiting for: [user_regularxhe64a0203@test-domain.com:message:received:content_hap2n60208] 2022-10-02 22:37:30 | [Mutex] waiting for: [user_regularxhe64a0203@test-domain.com:message:received:content_hap2n60208] 2022-10-02 22:37:30 | [Mutex] waiting for: [user_regularxhe64a0203@test-domain.com:message:received:content_hap2n60208] 2022-10-02 22:37:45 | [Mutex] timeout. Not received [user_regularxhe64a0203@test-domain.com:message:received:content_hap2n60208] 2022-10-02 22:37:45 | [Mutex] received everything. 2022-10-02 22:37:45 | [Mutex] isItemNotified: user_regularxhe64a0203@test-domain.com:message:received:content_hap2n60208 :: false 2022-10-02 22:37:45 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hap2n60208 :: true |