Test duration : 44.946s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.645s |
2022-05-02 23:06:55 |
2022-05-02 23:06:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-05-02 23:06:55 | ------------------------------------ 2022-05-02 23:06:55 | [Mutex] isItemNotified: node_wzspl90204:exists :: false 2022-05-02 23:06:55 | [Mutex] waiting for: [node_wzspl90204:create_node] 2022-05-02 23:06:55 | [Mutex] received everything. 2022-05-02 23:06:55 | [Mutex] isItemNotified: node_wzspl90204:create_node:success :: true 2022-05-02 23:06:55 | [Mutex] waiting for: [node_wzspl90204:subscribe_node] 2022-05-02 23:06:55 | [Mutex] received everything. 2022-05-02 23:06:55 | [Mutex] isItemNotified: node_wzspl90204:subscribe_node:success :: true 2022-05-02 23:06:55 | ===== publishing normal message (to online) 2022-05-02 23:06:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-02 23:06:55 | command: <data><node>node_wzspl90204</node><entry><content>content_4hhpog0205</content></entry></data> 2022-05-02 23:06:55 | target: http://localhost:8088 2022-05-02 23:06:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-02 23:06:55 | entity: <data><node>node_wzspl90204</node><entry><content>content_4hhpog0205</content></entry></data> 2022-05-02 23:06:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 03 May 2022 06:06:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-02 23:06:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>76e348a2-9adc-4363-8b84-39506cfbb989</value></item-id></result> 2022-05-02 23:06:55 | contains: true 2022-05-02 23:06:55 | [Mutex] waiting for: [user_regular18k1y40203@test-domain.com:message:received:content_4hhpog0205] 2022-05-02 23:06:55 | [Mutex] received everything. 2022-05-02 23:06:55 | [Mutex] isItemNotified: user_regular18k1y40203@test-domain.com:message:received:content_4hhpog0205 :: true 2022-05-02 23:06:55 | ===== publishing already old message - expecting message being filtered out (to online) 2022-05-02 23:06:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-02 23:06:55 | command: <data><node>node_wzspl90204</node><expire-at>2022-05-03T06:06:50Z</expire-at><entry><content>content_6ydj810206</content></entry></data> 2022-05-02 23:06:55 | target: http://localhost:8088 2022-05-02 23:06:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-02 23:06:55 | entity: <data><node>node_wzspl90204</node><expire-at>2022-05-03T06:06:50Z</expire-at><entry><content>content_6ydj810206</content></entry></data> 2022-05-02 23:06:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 03 May 2022 06:06:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-02 23:06:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8e5850bf-f14e-47e7-b772-9d5831fa4892</value></item-id></result> 2022-05-02 23:06:55 | contains: true 2022-05-02 23:06:55 | [Mutex] waiting for: [user_regular18k1y40203@test-domain.com:message:received:content_6ydj810206] 2022-05-02 23:07:10 | [Mutex] timeout. Not received [user_regular18k1y40203@test-domain.com:message:received:content_6ydj810206] 2022-05-02 23:07:10 | [Mutex] isItemNotified: user_regular18k1y40203@test-domain.com:message:received:content_6ydj810206 :: false 2022-05-02 23:07:10 | ===== publishing normal message (to offline) 2022-05-02 23:07:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-02 23:07:10 | command: <data><node>node_wzspl90204</node><entry><content>content_u8rqy10207</content></entry></data> 2022-05-02 23:07:10 | target: http://localhost:8088 2022-05-02 23:07:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-02 23:07:10 | entity: <data><node>node_wzspl90204</node><entry><content>content_u8rqy10207</content></entry></data> 2022-05-02 23:07:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 03 May 2022 06:07:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-02 23:07:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>69461102-7256-41ef-88ee-8258839c8c5b</value></item-id></result> 2022-05-02 23:07:10 | contains: true 2022-05-02 23:07:15 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-02 23:07:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-05-02 23:07:15 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-02 23:07:15 | [Mutex] waiting for: [user_regular18k1y40203@test-domain.com:message:received:content_u8rqy10207] 2022-05-02 23:07:15 | [Mutex] waiting for: [user_regular18k1y40203@test-domain.com:message:received:content_u8rqy10207] 2022-05-02 23:07:15 | [Mutex] received everything. 2022-05-02 23:07:15 | [Mutex] isItemNotified: user_regular18k1y40203@test-domain.com:message:received:content_u8rqy10207 :: true 2022-05-02 23:07:15 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-05-02 23:07:15 | [Mutex] received everything. 2022-05-02 23:07:15 | [Mutex] isItemNotified: node_wzspl90204:subscribe_node:success :: true 2022-05-02 23:07:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-02 23:07:15 | command: <data><node>node_wzspl90204</node><expire-at>2022-05-03T06:07:20Z</expire-at><entry><content>content_hmxl2h0208</content></entry></data> 2022-05-02 23:07:15 | target: http://localhost:8088 2022-05-02 23:07:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-02 23:07:15 | entity: <data><node>node_wzspl90204</node><expire-at>2022-05-03T06:07:20Z</expire-at><entry><content>content_hmxl2h0208</content></entry></data> 2022-05-02 23:07:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 03 May 2022 06:07:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-02 23:07:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>34c8fd68-0a69-4195-89f3-72192737e9f7</value></item-id></result> 2022-05-02 23:07:15 | contains: true 2022-05-02 23:07:23 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-02 23:07:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-05-02 23:07:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-02 23:07:24 | [Mutex] waiting for: [user_regular18k1y40203@test-domain.com:message:received:content_hmxl2h0208] 2022-05-02 23:07:24 | [Mutex] waiting for: [user_regular18k1y40203@test-domain.com:message:received:content_hmxl2h0208] 2022-05-02 23:07:39 | [Mutex] timeout. Not received [user_regular18k1y40203@test-domain.com:message:received:content_hmxl2h0208] 2022-05-02 23:07:39 | [Mutex] received everything. 2022-05-02 23:07:39 | [Mutex] isItemNotified: user_regular18k1y40203@test-domain.com:message:received:content_hmxl2h0208 :: false 2022-05-02 23:07:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_hmxl2h0208 :: true |