Test duration : 45.524s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.601s |
2021-06-21 22:30:53 |
2021-06-21 22:30:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-06-21 22:30:53 | ------------------------------------ 2021-06-21 22:30:53 | [Mutex] isItemNotified: node_x5qwkf0203:exists :: false 2021-06-21 22:30:53 | [Mutex] waiting for: [node_x5qwkf0203:create_node] 2021-06-21 22:30:53 | [Mutex] received everything. 2021-06-21 22:30:53 | [Mutex] isItemNotified: node_x5qwkf0203:create_node:success :: true 2021-06-21 22:30:53 | [Mutex] waiting for: [node_x5qwkf0203:subscribe_node] 2021-06-21 22:30:53 | [Mutex] waiting for: [node_x5qwkf0203:subscribe_node] 2021-06-21 22:30:53 | [Mutex] received everything. 2021-06-21 22:30:53 | [Mutex] isItemNotified: node_x5qwkf0203:subscribe_node:success :: true 2021-06-21 22:30:53 | ===== publishing normal message (to online) 2021-06-21 22:30:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-21 22:30:53 | command: <data><node>node_x5qwkf0203</node><entry><content>content_50p8hq0204</content></entry></data> 2021-06-21 22:30:53 | target: http://localhost:8088 2021-06-21 22:30:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-21 22:30:53 | entity: <data><node>node_x5qwkf0203</node><entry><content>content_50p8hq0204</content></entry></data> 2021-06-21 22:30:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Jun 2021 05:30:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-21 22:30:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1fd532bf-e93a-4e5b-b2c8-557951932869</value></item-id></result> 2021-06-21 22:30:53 | contains: true 2021-06-21 22:30:53 | [Mutex] received everything. 2021-06-21 22:30:53 | [Mutex] isItemNotified: user_regular88tpnh0202@test-domain.com:message:received:content_50p8hq0204 :: true 2021-06-21 22:30:53 | ===== publishing already old message - expecting message being filtered out (to online) 2021-06-21 22:30:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-21 22:30:53 | command: <data><node>node_x5qwkf0203</node><expire-at>2021-06-22T05:30:48Z</expire-at><entry><content>content_uhvrfq0205</content></entry></data> 2021-06-21 22:30:53 | target: http://localhost:8088 2021-06-21 22:30:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-21 22:30:53 | entity: <data><node>node_x5qwkf0203</node><expire-at>2021-06-22T05:30:48Z</expire-at><entry><content>content_uhvrfq0205</content></entry></data> 2021-06-21 22:30:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Jun 2021 05:30:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-21 22:30:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fa69c0a6-6821-4244-bd92-34b5b2262b67</value></item-id></result> 2021-06-21 22:30:53 | contains: true 2021-06-21 22:30:53 | [Mutex] waiting for: [user_regular88tpnh0202@test-domain.com:message:received:content_uhvrfq0205] 2021-06-21 22:31:08 | [Mutex] timeout. Not received [user_regular88tpnh0202@test-domain.com:message:received:content_uhvrfq0205] 2021-06-21 22:31:08 | [Mutex] isItemNotified: user_regular88tpnh0202@test-domain.com:message:received:content_uhvrfq0205 :: false 2021-06-21 22:31:08 | ===== publishing normal message (to offline) 2021-06-21 22:31:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-21 22:31:08 | command: <data><node>node_x5qwkf0203</node><entry><content>content_tqtat70206</content></entry></data> 2021-06-21 22:31:08 | target: http://localhost:8088 2021-06-21 22:31:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-06-21 22:31:08 | entity: <data><node>node_x5qwkf0203</node><entry><content>content_tqtat70206</content></entry></data> 2021-06-21 22:31:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Jun 2021 05:31:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-21 22:31:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a8ed52d5-d69e-42e5-95b1-f35b0973b218</value></item-id></result> 2021-06-21 22:31:08 | contains: true 2021-06-21 22:31:13 | [Mutex] waiting for: [user_regular88tpnh0202@test-domain.com:message:received:content_tqtat70206] 2021-06-21 22:31:13 | [Mutex] waiting for: [user_regular88tpnh0202@test-domain.com:message:received:content_tqtat70206] 2021-06-21 22:31:13 | [Mutex] received everything. 2021-06-21 22:31:13 | [Mutex] isItemNotified: user_regular88tpnh0202@test-domain.com:message:received:content_tqtat70206 :: true 2021-06-21 22:31:13 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-06-21 22:31:13 | [Mutex] received everything. 2021-06-21 22:31:13 | [Mutex] isItemNotified: node_x5qwkf0203:subscribe_node:success :: true 2021-06-21 22:31:13 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-06-21 22:31:13 | command: <data><node>node_x5qwkf0203</node><expire-at>2021-06-22T05:31:18Z</expire-at><entry><content>content_65qtaj0207</content></entry></data> 2021-06-21 22:31:13 | target: http://localhost:8088 2021-06-21 22:31:13 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-06-21 22:31:13 | entity: <data><node>node_x5qwkf0203</node><expire-at>2021-06-22T05:31:18Z</expire-at><entry><content>content_65qtaj0207</content></entry></data> 2021-06-21 22:31:13 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 22 Jun 2021 05:31:13 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-06-21 22:31:13 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>acc2de94-db64-4458-8399-c774dd32ac4a</value></item-id></result> 2021-06-21 22:31:13 | contains: true 2021-06-21 22:31:21 | [Mutex] waiting for: [user_regular88tpnh0202@test-domain.com:message:received:content_65qtaj0207] 2021-06-21 22:31:36 | [Mutex] timeout. Not received [user_regular88tpnh0202@test-domain.com:message:received:content_65qtaj0207] 2021-06-21 22:31:36 | [Mutex] received everything. 2021-06-21 22:31:36 | [Mutex] isItemNotified: user_regular88tpnh0202@test-domain.com:message:received:content_65qtaj0207 :: false 2021-06-21 22:31:36 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_65qtaj0207 :: true |