Test duration : 44.598s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.621s |
2022-06-29 22:47:25 |
2022-06-29 22:47:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-29 22:47:25 | ------------------------------------ 2022-06-29 22:47:25 | [Mutex] isItemNotified: node_j35t1a0204:exists :: false 2022-06-29 22:47:25 | [Mutex] waiting for: [node_j35t1a0204:create_node] 2022-06-29 22:47:25 | [Mutex] received everything. 2022-06-29 22:47:25 | [Mutex] isItemNotified: node_j35t1a0204:create_node:success :: true 2022-06-29 22:47:25 | [Mutex] waiting for: [node_j35t1a0204:subscribe_node] 2022-06-29 22:47:25 | [Mutex] received everything. 2022-06-29 22:47:25 | [Mutex] isItemNotified: node_j35t1a0204:subscribe_node:success :: true 2022-06-29 22:47:25 | ===== publishing normal message (to online) 2022-06-29 22:47:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-29 22:47:25 | command: <data><node>node_j35t1a0204</node><entry><content>content_138ook0205</content></entry></data> 2022-06-29 22:47:25 | target: http://localhost:8088 2022-06-29 22:47:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-29 22:47:25 | entity: <data><node>node_j35t1a0204</node><entry><content>content_138ook0205</content></entry></data> 2022-06-29 22:47:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Jun 2022 05:47:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-29 22:47:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>74a659ca-fcf5-4069-8a3f-be8c27fa1af6</value></item-id></result> 2022-06-29 22:47:25 | contains: true 2022-06-29 22:47:25 | [Mutex] received everything. 2022-06-29 22:47:25 | [Mutex] isItemNotified: user_regular7rojft0203@test-domain.com:message:received:content_138ook0205 :: true 2022-06-29 22:47:25 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-29 22:47:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-29 22:47:25 | command: <data><node>node_j35t1a0204</node><expire-at>2022-06-30T05:47:20Z</expire-at><entry><content>content_zaucjv0206</content></entry></data> 2022-06-29 22:47:25 | target: http://localhost:8088 2022-06-29 22:47:25 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-29 22:47:25 | entity: <data><node>node_j35t1a0204</node><expire-at>2022-06-30T05:47:20Z</expire-at><entry><content>content_zaucjv0206</content></entry></data> 2022-06-29 22:47:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Jun 2022 05:47:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-29 22:47:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>331b192e-78aa-4e48-84d2-0f6026431d29</value></item-id></result> 2022-06-29 22:47:25 | contains: true 2022-06-29 22:47:25 | [Mutex] waiting for: [user_regular7rojft0203@test-domain.com:message:received:content_zaucjv0206] 2022-06-29 22:47:40 | [Mutex] timeout. Not received [user_regular7rojft0203@test-domain.com:message:received:content_zaucjv0206] 2022-06-29 22:47:40 | [Mutex] isItemNotified: user_regular7rojft0203@test-domain.com:message:received:content_zaucjv0206 :: false 2022-06-29 22:47:40 | ===== publishing normal message (to offline) 2022-06-29 22:47:40 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-29 22:47:40 | command: <data><node>node_j35t1a0204</node><entry><content>content_3iumjs0207</content></entry></data> 2022-06-29 22:47:40 | target: http://localhost:8088 2022-06-29 22:47:40 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-29 22:47:40 | entity: <data><node>node_j35t1a0204</node><entry><content>content_3iumjs0207</content></entry></data> 2022-06-29 22:47:40 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Jun 2022 05:47:40 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-29 22:47:40 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>67448ef3-d1ef-43ee-9235-ce0bffad8810</value></item-id></result> 2022-06-29 22:47:40 | contains: true 2022-06-29 22:47:45 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-29 22:47:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-06-29 22:47:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-29 22:47:46 | [Mutex] waiting for: [user_regular7rojft0203@test-domain.com:message:received:content_3iumjs0207] 2022-06-29 22:47:46 | [Mutex] waiting for: [user_regular7rojft0203@test-domain.com:message:received:content_3iumjs0207] 2022-06-29 22:47:46 | [Mutex] received everything. 2022-06-29 22:47:46 | [Mutex] isItemNotified: user_regular7rojft0203@test-domain.com:message:received:content_3iumjs0207 :: true 2022-06-29 22:47:46 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-29 22:47:46 | [Mutex] received everything. 2022-06-29 22:47:46 | [Mutex] isItemNotified: node_j35t1a0204:subscribe_node:success :: true 2022-06-29 22:47:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-29 22:47:46 | command: <data><node>node_j35t1a0204</node><expire-at>2022-06-30T05:47:51Z</expire-at><entry><content>content_kuxk0v0208</content></entry></data> 2022-06-29 22:47:46 | target: http://localhost:8088 2022-06-29 22:47:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-29 22:47:46 | entity: <data><node>node_j35t1a0204</node><expire-at>2022-06-30T05:47:51Z</expire-at><entry><content>content_kuxk0v0208</content></entry></data> 2022-06-29 22:47:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 30 Jun 2022 05:47:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-29 22:47:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>7a601b2a-6765-404a-b435-7ffc529f3b7a</value></item-id></result> 2022-06-29 22:47:46 | contains: true 2022-06-29 22:47:54 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-06-29 22:47:54 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-06-29 22:47:54 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-06-29 22:47:54 | [Mutex] waiting for: [user_regular7rojft0203@test-domain.com:message:received:content_kuxk0v0208] 2022-06-29 22:48:09 | [Mutex] timeout. Not received [user_regular7rojft0203@test-domain.com:message:received:content_kuxk0v0208] 2022-06-29 22:48:09 | [Mutex] received everything. 2022-06-29 22:48:09 | [Mutex] isItemNotified: user_regular7rojft0203@test-domain.com:message:received:content_kuxk0v0208 :: false 2022-06-29 22:48:09 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_kuxk0v0208 :: true |