Test duration : 44.979s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.810s |
2022-02-08 21:50:22 |
2022-02-08 21:50:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-08 21:50:22 | ------------------------------------ 2022-02-08 21:50:22 | [Mutex] isItemNotified: node_wi2r5l0203:exists :: false 2022-02-08 21:50:22 | [Mutex] waiting for: [node_wi2r5l0203:create_node] 2022-02-08 21:50:22 | [Mutex] received everything. 2022-02-08 21:50:22 | [Mutex] isItemNotified: node_wi2r5l0203:create_node:success :: true 2022-02-08 21:50:22 | [Mutex] waiting for: [node_wi2r5l0203:subscribe_node] 2022-02-08 21:50:22 | [Mutex] waiting for: [node_wi2r5l0203:subscribe_node] 2022-02-08 21:50:22 | [Mutex] received everything. 2022-02-08 21:50:22 | [Mutex] isItemNotified: node_wi2r5l0203:subscribe_node:success :: true 2022-02-08 21:50:22 | ===== publishing normal message (to online) 2022-02-08 21:50:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-08 21:50:22 | command: <data><node>node_wi2r5l0203</node><entry><content>content_2mwnvl0204</content></entry></data> 2022-02-08 21:50:22 | target: http://localhost:8088 2022-02-08 21:50:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-08 21:50:22 | entity: <data><node>node_wi2r5l0203</node><entry><content>content_2mwnvl0204</content></entry></data> 2022-02-08 21:50:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Feb 2022 05:50:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-08 21:50:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>98961072-b1f4-4083-871e-54126a42df5d</value></item-id></result> 2022-02-08 21:50:22 | contains: true 2022-02-08 21:50:22 | [Mutex] received everything. 2022-02-08 21:50:22 | [Mutex] isItemNotified: user_regulartgowlz0202@test-domain.com:message:received:content_2mwnvl0204 :: true 2022-02-08 21:50:22 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-08 21:50:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-08 21:50:22 | command: <data><node>node_wi2r5l0203</node><expire-at>2022-02-09T05:50:17Z</expire-at><entry><content>content_7xpwqq0205</content></entry></data> 2022-02-08 21:50:22 | target: http://localhost:8088 2022-02-08 21:50:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-08 21:50:22 | entity: <data><node>node_wi2r5l0203</node><expire-at>2022-02-09T05:50:17Z</expire-at><entry><content>content_7xpwqq0205</content></entry></data> 2022-02-08 21:50:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Feb 2022 05:50:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-08 21:50:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>255d73cd-f16a-4018-be50-8eab02fe0670</value></item-id></result> 2022-02-08 21:50:22 | contains: true 2022-02-08 21:50:22 | [Mutex] waiting for: [user_regulartgowlz0202@test-domain.com:message:received:content_7xpwqq0205] 2022-02-08 21:50:37 | [Mutex] timeout. Not received [user_regulartgowlz0202@test-domain.com:message:received:content_7xpwqq0205] 2022-02-08 21:50:37 | [Mutex] isItemNotified: user_regulartgowlz0202@test-domain.com:message:received:content_7xpwqq0205 :: false 2022-02-08 21:50:37 | ===== publishing normal message (to offline) 2022-02-08 21:50:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-08 21:50:37 | command: <data><node>node_wi2r5l0203</node><entry><content>content_ergk090206</content></entry></data> 2022-02-08 21:50:37 | target: http://localhost:8088 2022-02-08 21:50:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-08 21:50:37 | entity: <data><node>node_wi2r5l0203</node><entry><content>content_ergk090206</content></entry></data> 2022-02-08 21:50:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Feb 2022 05:50:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-08 21:50:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cdc259e0-20bc-40ee-ad17-83d3a9eac94e</value></item-id></result> 2022-02-08 21:50:37 | contains: true 2022-02-08 21:50:42 | [Mutex] waiting for: [user_regulartgowlz0202@test-domain.com:message:received:content_ergk090206] 2022-02-08 21:50:42 | [Mutex] waiting for: [user_regulartgowlz0202@test-domain.com:message:received:content_ergk090206] 2022-02-08 21:50:42 | [Mutex] received everything. 2022-02-08 21:50:42 | [Mutex] isItemNotified: user_regulartgowlz0202@test-domain.com:message:received:content_ergk090206 :: true 2022-02-08 21:50:42 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-08 21:50:42 | [Mutex] received everything. 2022-02-08 21:50:42 | [Mutex] isItemNotified: node_wi2r5l0203:subscribe_node:success :: true 2022-02-08 21:50:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-08 21:50:42 | command: <data><node>node_wi2r5l0203</node><expire-at>2022-02-09T05:50:47Z</expire-at><entry><content>content_ed779q0207</content></entry></data> 2022-02-08 21:50:42 | target: http://localhost:8088 2022-02-08 21:50:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-08 21:50:42 | entity: <data><node>node_wi2r5l0203</node><expire-at>2022-02-09T05:50:47Z</expire-at><entry><content>content_ed779q0207</content></entry></data> 2022-02-08 21:50:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Feb 2022 05:50:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-08 21:50:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6f8a8d41-95db-46cc-ad65-843ea7a47bb6</value></item-id></result> 2022-02-08 21:50:42 | contains: true 2022-02-08 21:50:51 | [Mutex] waiting for: [user_regulartgowlz0202@test-domain.com:message:received:content_ed779q0207] 2022-02-08 21:50:51 | [Mutex] waiting for: [user_regulartgowlz0202@test-domain.com:message:received:content_ed779q0207] 2022-02-08 21:50:51 | [Mutex] waiting for: [user_regulartgowlz0202@test-domain.com:message:received:content_ed779q0207] 2022-02-08 21:51:06 | [Mutex] timeout. Not received [user_regulartgowlz0202@test-domain.com:message:received:content_ed779q0207] 2022-02-08 21:51:06 | [Mutex] received everything. 2022-02-08 21:51:06 | [Mutex] isItemNotified: user_regulartgowlz0202@test-domain.com:message:received:content_ed779q0207 :: false 2022-02-08 21:51:06 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ed779q0207 :: true |