Test duration : 44.951s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.650s |
2021-05-27 10:30:56 |
2021-05-27 10:30:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-27 10:30:56 | ------------------------------------ 2021-05-27 10:30:56 | [Mutex] isItemNotified: node_6c64mx0203:exists :: false 2021-05-27 10:30:56 | [Mutex] waiting for: [node_6c64mx0203:create_node] 2021-05-27 10:30:56 | [Mutex] received everything. 2021-05-27 10:30:56 | [Mutex] isItemNotified: node_6c64mx0203:create_node:success :: true 2021-05-27 10:30:56 | [Mutex] waiting for: [node_6c64mx0203:subscribe_node] 2021-05-27 10:30:56 | [Mutex] waiting for: [node_6c64mx0203:subscribe_node] 2021-05-27 10:30:56 | [Mutex] received everything. 2021-05-27 10:30:56 | [Mutex] isItemNotified: node_6c64mx0203:subscribe_node:success :: true 2021-05-27 10:30:56 | ===== publishing normal message (to online) 2021-05-27 10:30:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-27 10:30:56 | command: <data><node>node_6c64mx0203</node><entry><content>content_f91rat0204</content></entry></data> 2021-05-27 10:30:56 | target: http://localhost:8088 2021-05-27 10:30:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-27 10:30:56 | entity: <data><node>node_6c64mx0203</node><entry><content>content_f91rat0204</content></entry></data> 2021-05-27 10:30:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:30:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-27 10:30:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7c47f2f9-39ba-472c-b034-f5755f92cfd4</value></item-id></result> 2021-05-27 10:30:56 | contains: true 2021-05-27 10:30:56 | [Mutex] received everything. 2021-05-27 10:30:56 | [Mutex] isItemNotified: user_regularhqzy990202@test-domain.com:message:received:content_f91rat0204 :: true 2021-05-27 10:30:56 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-27 10:30:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-27 10:30:56 | command: <data><node>node_6c64mx0203</node><expire-at>2021-05-27T17:30:51Z</expire-at><entry><content>content_b8jneg0205</content></entry></data> 2021-05-27 10:30:56 | target: http://localhost:8088 2021-05-27 10:30:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-27 10:30:56 | entity: <data><node>node_6c64mx0203</node><expire-at>2021-05-27T17:30:51Z</expire-at><entry><content>content_b8jneg0205</content></entry></data> 2021-05-27 10:30:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:30:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-27 10:30:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d1a3cf46-6570-4c88-8759-b8da4ec67d73</value></item-id></result> 2021-05-27 10:30:56 | contains: true 2021-05-27 10:30:56 | [Mutex] waiting for: [user_regularhqzy990202@test-domain.com:message:received:content_b8jneg0205] 2021-05-27 10:31:11 | [Mutex] timeout. Not received [user_regularhqzy990202@test-domain.com:message:received:content_b8jneg0205] 2021-05-27 10:31:11 | [Mutex] isItemNotified: user_regularhqzy990202@test-domain.com:message:received:content_b8jneg0205 :: false 2021-05-27 10:31:11 | ===== publishing normal message (to offline) 2021-05-27 10:31:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-27 10:31:11 | command: <data><node>node_6c64mx0203</node><entry><content>content_q328ub0206</content></entry></data> 2021-05-27 10:31:11 | target: http://localhost:8088 2021-05-27 10:31:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-27 10:31:11 | entity: <data><node>node_6c64mx0203</node><entry><content>content_q328ub0206</content></entry></data> 2021-05-27 10:31:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:31:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-27 10:31:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d7d751c0-c82f-4e31-99ea-21cbc04937df</value></item-id></result> 2021-05-27 10:31:12 | contains: true 2021-05-27 10:31:17 | [Mutex] waiting for: [user_regularhqzy990202@test-domain.com:message:received:content_q328ub0206] 2021-05-27 10:31:17 | [Mutex] waiting for: [user_regularhqzy990202@test-domain.com:message:received:content_q328ub0206] 2021-05-27 10:31:17 | [Mutex] received everything. 2021-05-27 10:31:17 | [Mutex] isItemNotified: user_regularhqzy990202@test-domain.com:message:received:content_q328ub0206 :: true 2021-05-27 10:31:17 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-27 10:31:17 | [Mutex] received everything. 2021-05-27 10:31:17 | [Mutex] isItemNotified: node_6c64mx0203:subscribe_node:success :: true 2021-05-27 10:31:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-27 10:31:17 | command: <data><node>node_6c64mx0203</node><expire-at>2021-05-27T17:31:22Z</expire-at><entry><content>content_pl9hyi0207</content></entry></data> 2021-05-27 10:31:17 | target: http://localhost:8088 2021-05-27 10:31:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-27 10:31:17 | entity: <data><node>node_6c64mx0203</node><expire-at>2021-05-27T17:31:22Z</expire-at><entry><content>content_pl9hyi0207</content></entry></data> 2021-05-27 10:31:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 27 May 2021 17:31:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-27 10:31:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>09514df2-8dbe-4874-a49f-4160340aa2f5</value></item-id></result> 2021-05-27 10:31:17 | contains: true 2021-05-27 10:31:25 | [Mutex] waiting for: [user_regularhqzy990202@test-domain.com:message:received:content_pl9hyi0207] 2021-05-27 10:31:25 | [Mutex] waiting for: [user_regularhqzy990202@test-domain.com:message:received:content_pl9hyi0207] 2021-05-27 10:31:25 | [Mutex] waiting for: [user_regularhqzy990202@test-domain.com:message:received:content_pl9hyi0207] 2021-05-27 10:31:40 | [Mutex] timeout. Not received [user_regularhqzy990202@test-domain.com:message:received:content_pl9hyi0207] 2021-05-27 10:31:40 | [Mutex] received everything. 2021-05-27 10:31:40 | [Mutex] isItemNotified: user_regularhqzy990202@test-domain.com:message:received:content_pl9hyi0207 :: false 2021-05-27 10:31:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pl9hyi0207 :: true |