Test duration : 45.426s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.774s |
2021-01-18 21:39:10 |
2021-01-18 21:39:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-01-18 21:39:10 | ------------------------------------ 2021-01-18 21:39:10 | [Mutex] isItemNotified: node_dm7s7q0203:exists :: false 2021-01-18 21:39:10 | [Mutex] waiting for: [node_dm7s7q0203:create_node] 2021-01-18 21:39:10 | [Mutex] received everything. 2021-01-18 21:39:10 | [Mutex] isItemNotified: node_dm7s7q0203:create_node:success :: true 2021-01-18 21:39:10 | [Mutex] waiting for: [node_dm7s7q0203:subscribe_node] 2021-01-18 21:39:10 | [Mutex] received everything. 2021-01-18 21:39:10 | [Mutex] isItemNotified: node_dm7s7q0203:subscribe_node:success :: true 2021-01-18 21:39:10 | ===== publishing normal message (to online) 2021-01-18 21:39:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-18 21:39:10 | command: <data><node>node_dm7s7q0203</node><entry><content>content_zdvd140204</content></entry></data> 2021-01-18 21:39:10 | target: http://localhost:8088 2021-01-18 21:39:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-18 21:39:10 | entity: <data><node>node_dm7s7q0203</node><entry><content>content_zdvd140204</content></entry></data> 2021-01-18 21:39:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 05:39:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-18 21:39:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b8b27dc4-e546-42ff-aa30-86b5e45367d6</value></item-id></result> 2021-01-18 21:39:10 | contains: true 2021-01-18 21:39:10 | [Mutex] waiting for: [user_regulartpjn4n0202@test-domain.com:message:received:content_zdvd140204] 2021-01-18 21:39:10 | [Mutex] received everything. 2021-01-18 21:39:10 | [Mutex] isItemNotified: user_regulartpjn4n0202@test-domain.com:message:received:content_zdvd140204 :: true 2021-01-18 21:39:10 | ===== publishing already old message - expecting message being filtered out (to online) 2021-01-18 21:39:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-18 21:39:10 | command: <data><node>node_dm7s7q0203</node><expire-at>2021-01-19T05:39:05Z</expire-at><entry><content>content_5qe46b0205</content></entry></data> 2021-01-18 21:39:10 | target: http://localhost:8088 2021-01-18 21:39:10 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-18 21:39:10 | entity: <data><node>node_dm7s7q0203</node><expire-at>2021-01-19T05:39:05Z</expire-at><entry><content>content_5qe46b0205</content></entry></data> 2021-01-18 21:39:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 05:39:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-18 21:39:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>8b342778-69c9-4acf-b992-389a4164cab1</value></item-id></result> 2021-01-18 21:39:10 | contains: true 2021-01-18 21:39:10 | [Mutex] waiting for: [user_regulartpjn4n0202@test-domain.com:message:received:content_5qe46b0205] 2021-01-18 21:39:25 | [Mutex] timeout. Not received [user_regulartpjn4n0202@test-domain.com:message:received:content_5qe46b0205] 2021-01-18 21:39:25 | [Mutex] isItemNotified: user_regulartpjn4n0202@test-domain.com:message:received:content_5qe46b0205 :: false 2021-01-18 21:39:25 | ===== publishing normal message (to offline) 2021-01-18 21:39:25 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-18 21:39:25 | command: <data><node>node_dm7s7q0203</node><entry><content>content_kfv8720206</content></entry></data> 2021-01-18 21:39:25 | target: http://localhost:8088 2021-01-18 21:39:25 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-18 21:39:25 | entity: <data><node>node_dm7s7q0203</node><entry><content>content_kfv8720206</content></entry></data> 2021-01-18 21:39:25 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 05:39:25 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-18 21:39:25 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>58b7d687-4160-494a-bcaf-df6898d3a0b2</value></item-id></result> 2021-01-18 21:39:25 | contains: true 2021-01-18 21:39:30 | [Mutex] waiting for: [user_regulartpjn4n0202@test-domain.com:message:received:content_kfv8720206] 2021-01-18 21:39:30 | [Mutex] waiting for: [user_regulartpjn4n0202@test-domain.com:message:received:content_kfv8720206] 2021-01-18 21:39:30 | [Mutex] received everything. 2021-01-18 21:39:30 | [Mutex] isItemNotified: user_regulartpjn4n0202@test-domain.com:message:received:content_kfv8720206 :: true 2021-01-18 21:39:30 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-01-18 21:39:30 | [Mutex] received everything. 2021-01-18 21:39:30 | [Mutex] isItemNotified: node_dm7s7q0203:subscribe_node:success :: true 2021-01-18 21:39:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-18 21:39:30 | command: <data><node>node_dm7s7q0203</node><expire-at>2021-01-19T05:39:35Z</expire-at><entry><content>content_i7jm5j0207</content></entry></data> 2021-01-18 21:39:30 | target: http://localhost:8088 2021-01-18 21:39:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-18 21:39:30 | entity: <data><node>node_dm7s7q0203</node><expire-at>2021-01-19T05:39:35Z</expire-at><entry><content>content_i7jm5j0207</content></entry></data> 2021-01-18 21:39:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 19 Jan 2021 05:39:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-18 21:39:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ff910337-cb8e-4d1c-ae40-672a8e8b240a</value></item-id></result> 2021-01-18 21:39:30 | contains: true 2021-01-18 21:39:39 | [Mutex] waiting for: [user_regulartpjn4n0202@test-domain.com:message:received:content_i7jm5j0207] 2021-01-18 21:39:54 | [Mutex] timeout. Not received [user_regulartpjn4n0202@test-domain.com:message:received:content_i7jm5j0207] 2021-01-18 21:39:54 | [Mutex] received everything. 2021-01-18 21:39:54 | [Mutex] isItemNotified: user_regulartpjn4n0202@test-domain.com:message:received:content_i7jm5j0207 :: false 2021-01-18 21:39:54 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_i7jm5j0207 :: true |