Test duration : 45.613s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.663s |
2022-02-08 22:30:47 |
2022-02-08 22:30:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-02-08 22:30:47 | ------------------------------------ 2022-02-08 22:30:47 | [Mutex] isItemNotified: node_30loqn0203:exists :: false 2022-02-08 22:30:47 | [Mutex] waiting for: [node_30loqn0203:create_node] 2022-02-08 22:30:47 | [Mutex] received everything. 2022-02-08 22:30:47 | [Mutex] isItemNotified: node_30loqn0203:create_node:success :: true 2022-02-08 22:30:47 | [Mutex] waiting for: [node_30loqn0203:subscribe_node] 2022-02-08 22:30:47 | [Mutex] waiting for: [node_30loqn0203:subscribe_node] 2022-02-08 22:30:47 | [Mutex] received everything. 2022-02-08 22:30:47 | [Mutex] isItemNotified: node_30loqn0203:subscribe_node:success :: true 2022-02-08 22:30:47 | ===== publishing normal message (to online) 2022-02-08 22:30:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-08 22:30:47 | command: <data><node>node_30loqn0203</node><entry><content>content_12truq0204</content></entry></data> 2022-02-08 22:30:47 | target: http://localhost:8088 2022-02-08 22:30:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-08 22:30:47 | entity: <data><node>node_30loqn0203</node><entry><content>content_12truq0204</content></entry></data> 2022-02-08 22:30:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Feb 2022 06:30:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-08 22:30:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ed99b8e1-746d-4e37-9528-e717ae57e117</value></item-id></result> 2022-02-08 22:30:47 | contains: true 2022-02-08 22:30:47 | [Mutex] received everything. 2022-02-08 22:30:47 | [Mutex] isItemNotified: user_regularcn5yfv0202@test-domain.com:message:received:content_12truq0204 :: true 2022-02-08 22:30:47 | ===== publishing already old message - expecting message being filtered out (to online) 2022-02-08 22:30:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-08 22:30:47 | command: <data><node>node_30loqn0203</node><expire-at>2022-02-09T06:30:42Z</expire-at><entry><content>content_eahajf0205</content></entry></data> 2022-02-08 22:30:47 | target: http://localhost:8088 2022-02-08 22:30:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-08 22:30:47 | entity: <data><node>node_30loqn0203</node><expire-at>2022-02-09T06:30:42Z</expire-at><entry><content>content_eahajf0205</content></entry></data> 2022-02-08 22:30:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Feb 2022 06:30:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-08 22:30:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>93c53dac-527c-4280-8d1f-7645e3fd5977</value></item-id></result> 2022-02-08 22:30:47 | contains: true 2022-02-08 22:30:47 | [Mutex] waiting for: [user_regularcn5yfv0202@test-domain.com:message:received:content_eahajf0205] 2022-02-08 22:31:02 | [Mutex] timeout. Not received [user_regularcn5yfv0202@test-domain.com:message:received:content_eahajf0205] 2022-02-08 22:31:02 | [Mutex] isItemNotified: user_regularcn5yfv0202@test-domain.com:message:received:content_eahajf0205 :: false 2022-02-08 22:31:02 | ===== publishing normal message (to offline) 2022-02-08 22:31:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-08 22:31:02 | command: <data><node>node_30loqn0203</node><entry><content>content_jgjt160206</content></entry></data> 2022-02-08 22:31:02 | target: http://localhost:8088 2022-02-08 22:31:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-02-08 22:31:02 | entity: <data><node>node_30loqn0203</node><entry><content>content_jgjt160206</content></entry></data> 2022-02-08 22:31:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Feb 2022 06:31:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-08 22:31:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d9ed00bf-f86f-480d-b1d0-110a3fb70727</value></item-id></result> 2022-02-08 22:31:02 | contains: true 2022-02-08 22:31:07 | [Mutex] waiting for: [user_regularcn5yfv0202@test-domain.com:message:received:content_jgjt160206] 2022-02-08 22:31:07 | [Mutex] received everything. 2022-02-08 22:31:07 | [Mutex] isItemNotified: user_regularcn5yfv0202@test-domain.com:message:received:content_jgjt160206 :: true 2022-02-08 22:31:07 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-02-08 22:31:07 | [Mutex] received everything. 2022-02-08 22:31:07 | [Mutex] isItemNotified: node_30loqn0203:subscribe_node:success :: true 2022-02-08 22:31:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-02-08 22:31:07 | command: <data><node>node_30loqn0203</node><expire-at>2022-02-09T06:31:12Z</expire-at><entry><content>content_nj8htj0207</content></entry></data> 2022-02-08 22:31:07 | target: http://localhost:8088 2022-02-08 22:31:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-02-08 22:31:07 | entity: <data><node>node_30loqn0203</node><expire-at>2022-02-09T06:31:12Z</expire-at><entry><content>content_nj8htj0207</content></entry></data> 2022-02-08 22:31:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 09 Feb 2022 06:31:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-02-08 22:31:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a49df29d-55dc-4bb7-a666-a14750e32092</value></item-id></result> 2022-02-08 22:31:07 | contains: true 2022-02-08 22:31:15 | [Mutex] waiting for: [user_regularcn5yfv0202@test-domain.com:message:received:content_nj8htj0207] 2022-02-08 22:31:30 | [Mutex] timeout. Not received [user_regularcn5yfv0202@test-domain.com:message:received:content_nj8htj0207] 2022-02-08 22:31:30 | [Mutex] received everything. 2022-02-08 22:31:30 | [Mutex] isItemNotified: user_regularcn5yfv0202@test-domain.com:message:received:content_nj8htj0207 :: false 2022-02-08 22:31:30 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_nj8htj0207 :: true |