Test duration : 45.359s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.695s |
2020-10-01 23:01:11 |
2020-10-01 23:01:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-01 23:01:11 | ------------------------------------ 2020-10-01 23:01:11 | [Mutex] isItemNotified: node_ivqo4o0203:exists :: false 2020-10-01 23:01:11 | [Mutex] waiting for: [node_ivqo4o0203:create_node] 2020-10-01 23:01:11 | [Mutex] received everything. 2020-10-01 23:01:11 | [Mutex] isItemNotified: node_ivqo4o0203:create_node:success :: true 2020-10-01 23:01:11 | [Mutex] waiting for: [node_ivqo4o0203:subscribe_node] 2020-10-01 23:01:11 | [Mutex] waiting for: [node_ivqo4o0203:subscribe_node] 2020-10-01 23:01:11 | [Mutex] received everything. 2020-10-01 23:01:11 | [Mutex] isItemNotified: node_ivqo4o0203:subscribe_node:success :: true 2020-10-01 23:01:11 | ===== publishing normal message (to online) 2020-10-01 23:01:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-01 23:01:11 | command: <data><node>node_ivqo4o0203</node><entry><content>content_7fcski0204</content></entry></data> 2020-10-01 23:01:11 | target: http://localhost:8088 2020-10-01 23:01:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-01 23:01:11 | entity: <data><node>node_ivqo4o0203</node><entry><content>content_7fcski0204</content></entry></data> 2020-10-01 23:01:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 02 Oct 2020 06:01:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-01 23:01:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3d0972b7-e681-4d0b-acd2-dc5731ff194c</value></item-id></result> 2020-10-01 23:01:11 | contains: true 2020-10-01 23:01:11 | [Mutex] received everything. 2020-10-01 23:01:11 | [Mutex] isItemNotified: user_regularrqz6tc0202@test-domain.com:message:received:content_7fcski0204 :: true 2020-10-01 23:01:11 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-01 23:01:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-01 23:01:11 | command: <data><node>node_ivqo4o0203</node><expire-at>2020-10-02T06:01:06Z</expire-at><entry><content>content_17ax2a0205</content></entry></data> 2020-10-01 23:01:11 | target: http://localhost:8088 2020-10-01 23:01:11 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-01 23:01:11 | entity: <data><node>node_ivqo4o0203</node><expire-at>2020-10-02T06:01:06Z</expire-at><entry><content>content_17ax2a0205</content></entry></data> 2020-10-01 23:01:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 02 Oct 2020 06:01:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-01 23:01:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e6596a79-1cbe-4b18-a8de-f08e841a085a</value></item-id></result> 2020-10-01 23:01:11 | contains: true 2020-10-01 23:01:11 | [Mutex] waiting for: [user_regularrqz6tc0202@test-domain.com:message:received:content_17ax2a0205] 2020-10-01 23:01:26 | [Mutex] timeout. Not received [user_regularrqz6tc0202@test-domain.com:message:received:content_17ax2a0205] 2020-10-01 23:01:26 | [Mutex] isItemNotified: user_regularrqz6tc0202@test-domain.com:message:received:content_17ax2a0205 :: false 2020-10-01 23:01:26 | ===== publishing normal message (to offline) 2020-10-01 23:01:26 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-01 23:01:26 | command: <data><node>node_ivqo4o0203</node><entry><content>content_m2f37r0206</content></entry></data> 2020-10-01 23:01:26 | target: http://localhost:8088 2020-10-01 23:01:26 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-01 23:01:26 | entity: <data><node>node_ivqo4o0203</node><entry><content>content_m2f37r0206</content></entry></data> 2020-10-01 23:01:26 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 02 Oct 2020 06:01:26 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-01 23:01:26 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>89362ce7-3464-4dcd-9372-5936eaa02f12</value></item-id></result> 2020-10-01 23:01:26 | contains: true 2020-10-01 23:01:31 | [Mutex] waiting for: [user_regularrqz6tc0202@test-domain.com:message:received:content_m2f37r0206] 2020-10-01 23:01:31 | [Mutex] waiting for: [user_regularrqz6tc0202@test-domain.com:message:received:content_m2f37r0206] 2020-10-01 23:01:31 | [Mutex] received everything. 2020-10-01 23:01:31 | [Mutex] isItemNotified: user_regularrqz6tc0202@test-domain.com:message:received:content_m2f37r0206 :: true 2020-10-01 23:01:31 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-01 23:01:31 | [Mutex] received everything. 2020-10-01 23:01:31 | [Mutex] isItemNotified: node_ivqo4o0203:subscribe_node:success :: true 2020-10-01 23:01:31 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-01 23:01:31 | command: <data><node>node_ivqo4o0203</node><expire-at>2020-10-02T06:01:36Z</expire-at><entry><content>content_c0nn9k0207</content></entry></data> 2020-10-01 23:01:31 | target: http://localhost:8088 2020-10-01 23:01:31 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-01 23:01:31 | entity: <data><node>node_ivqo4o0203</node><expire-at>2020-10-02T06:01:36Z</expire-at><entry><content>content_c0nn9k0207</content></entry></data> 2020-10-01 23:01:31 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 02 Oct 2020 06:01:31 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-01 23:01:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9d01a6eb-dbc3-408b-80e6-d8f11724477e</value></item-id></result> 2020-10-01 23:01:31 | contains: true 2020-10-01 23:01:39 | [Mutex] waiting for: [user_regularrqz6tc0202@test-domain.com:message:received:content_c0nn9k0207] 2020-10-01 23:01:39 | [Mutex] waiting for: [user_regularrqz6tc0202@test-domain.com:message:received:content_c0nn9k0207] 2020-10-01 23:01:54 | [Mutex] timeout. Not received [user_regularrqz6tc0202@test-domain.com:message:received:content_c0nn9k0207] 2020-10-01 23:01:54 | [Mutex] received everything. 2020-10-01 23:01:54 | [Mutex] isItemNotified: user_regularrqz6tc0202@test-domain.com:message:received:content_c0nn9k0207 :: false 2020-10-01 23:01:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_c0nn9k0207 :: true |