Test duration : 44.515s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.632s |
2022-07-22 23:04:56 |
2022-07-22 23:04:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-22 23:04:56 | ------------------------------------ 2022-07-22 23:04:56 | [Mutex] isItemNotified: node_3vph0q0204:exists :: false 2022-07-22 23:04:56 | [Mutex] waiting for: [node_3vph0q0204:create_node] 2022-07-22 23:04:56 | [Mutex] waiting for: [node_3vph0q0204:create_node] 2022-07-22 23:04:56 | [Mutex] received everything. 2022-07-22 23:04:56 | [Mutex] isItemNotified: node_3vph0q0204:create_node:success :: true 2022-07-22 23:04:56 | [Mutex] waiting for: [node_3vph0q0204:subscribe_node] 2022-07-22 23:04:56 | [Mutex] waiting for: [node_3vph0q0204:subscribe_node] 2022-07-22 23:04:56 | [Mutex] received everything. 2022-07-22 23:04:56 | [Mutex] isItemNotified: node_3vph0q0204:subscribe_node:success :: true 2022-07-22 23:04:56 | ===== publishing normal message (to online) 2022-07-22 23:04:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-22 23:04:56 | command: <data><node>node_3vph0q0204</node><entry><content>content_iqcm380205</content></entry></data> 2022-07-22 23:04:56 | target: http://localhost:8088 2022-07-22 23:04:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-22 23:04:56 | entity: <data><node>node_3vph0q0204</node><entry><content>content_iqcm380205</content></entry></data> 2022-07-22 23:04:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 23 Jul 2022 06:04:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-22 23:04:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0595323e-6c59-4ed4-bd2a-40753e444329</value></item-id></result> 2022-07-22 23:04:56 | contains: true 2022-07-22 23:04:56 | [Mutex] received everything. 2022-07-22 23:04:56 | [Mutex] isItemNotified: user_regularlz33wu0203@test-domain.com:message:received:content_iqcm380205 :: true 2022-07-22 23:04:56 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-22 23:04:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-22 23:04:56 | command: <data><node>node_3vph0q0204</node><expire-at>2022-07-23T06:04:51Z</expire-at><entry><content>content_9n2woh0206</content></entry></data> 2022-07-22 23:04:56 | target: http://localhost:8088 2022-07-22 23:04:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-22 23:04:56 | entity: <data><node>node_3vph0q0204</node><expire-at>2022-07-23T06:04:51Z</expire-at><entry><content>content_9n2woh0206</content></entry></data> 2022-07-22 23:04:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 23 Jul 2022 06:04:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-22 23:04:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f79af9b0-c83c-4e4a-8d5b-1fd9ccaab03e</value></item-id></result> 2022-07-22 23:04:56 | contains: true 2022-07-22 23:04:56 | [Mutex] waiting for: [user_regularlz33wu0203@test-domain.com:message:received:content_9n2woh0206] 2022-07-22 23:05:11 | [Mutex] timeout. Not received [user_regularlz33wu0203@test-domain.com:message:received:content_9n2woh0206] 2022-07-22 23:05:11 | [Mutex] isItemNotified: user_regularlz33wu0203@test-domain.com:message:received:content_9n2woh0206 :: false 2022-07-22 23:05:11 | ===== publishing normal message (to offline) 2022-07-22 23:05:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-22 23:05:11 | command: <data><node>node_3vph0q0204</node><entry><content>content_r9spfl0207</content></entry></data> 2022-07-22 23:05:11 | target: http://localhost:8088 2022-07-22 23:05:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-22 23:05:11 | entity: <data><node>node_3vph0q0204</node><entry><content>content_r9spfl0207</content></entry></data> 2022-07-22 23:05:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 23 Jul 2022 06:05:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-22 23:05:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>26bf02cd-4293-4193-8b21-efddeb59cb3d</value></item-id></result> 2022-07-22 23:05:11 | contains: true 2022-07-22 23:05:16 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-22 23:05:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-22 23:05:16 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-22 23:05:17 | [Mutex] received everything. 2022-07-22 23:05:17 | [Mutex] isItemNotified: user_regularlz33wu0203@test-domain.com:message:received:content_r9spfl0207 :: true 2022-07-22 23:05:17 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-22 23:05:17 | [Mutex] received everything. 2022-07-22 23:05:17 | [Mutex] isItemNotified: node_3vph0q0204:subscribe_node:success :: true 2022-07-22 23:05:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-22 23:05:17 | command: <data><node>node_3vph0q0204</node><expire-at>2022-07-23T06:05:22Z</expire-at><entry><content>content_w198r10208</content></entry></data> 2022-07-22 23:05:17 | target: http://localhost:8088 2022-07-22 23:05:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-22 23:05:17 | entity: <data><node>node_3vph0q0204</node><expire-at>2022-07-23T06:05:22Z</expire-at><entry><content>content_w198r10208</content></entry></data> 2022-07-22 23:05:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 23 Jul 2022 06:05:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-22 23:05:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>49a8f000-989d-4cf9-9187-2812d93859af</value></item-id></result> 2022-07-22 23:05:17 | contains: true 2022-07-22 23:05:25 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-22 23:05:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-22 23:05:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-22 23:05:25 | [Mutex] waiting for: [user_regularlz33wu0203@test-domain.com:message:received:content_w198r10208] 2022-07-22 23:05:25 | [Mutex] waiting for: [user_regularlz33wu0203@test-domain.com:message:received:content_w198r10208] 2022-07-22 23:05:40 | [Mutex] timeout. Not received [user_regularlz33wu0203@test-domain.com:message:received:content_w198r10208] 2022-07-22 23:05:40 | [Mutex] received everything. 2022-07-22 23:05:40 | [Mutex] isItemNotified: user_regularlz33wu0203@test-domain.com:message:received:content_w198r10208 :: false 2022-07-22 23:05:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_w198r10208 :: true |