Test duration : 45.460s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.704s |
2020-09-13 23:37:54 |
2020-09-13 23:37:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-13 23:37:54 | ------------------------------------ 2020-09-13 23:37:54 | [Mutex] isItemNotified: node_fdjc460203:exists :: false 2020-09-13 23:37:54 | [Mutex] waiting for: [node_fdjc460203:create_node] 2020-09-13 23:37:54 | [Mutex] received everything. 2020-09-13 23:37:54 | [Mutex] isItemNotified: node_fdjc460203:create_node:success :: true 2020-09-13 23:37:54 | [Mutex] waiting for: [node_fdjc460203:subscribe_node] 2020-09-13 23:37:54 | [Mutex] waiting for: [node_fdjc460203:subscribe_node] 2020-09-13 23:37:54 | [Mutex] received everything. 2020-09-13 23:37:54 | [Mutex] isItemNotified: node_fdjc460203:subscribe_node:success :: true 2020-09-13 23:37:54 | ===== publishing normal message (to online) 2020-09-13 23:37:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-13 23:37:54 | command: <data><node>node_fdjc460203</node><entry><content>content_tki2n90204</content></entry></data> 2020-09-13 23:37:54 | target: http://localhost:8088 2020-09-13 23:37:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-13 23:37:54 | entity: <data><node>node_fdjc460203</node><entry><content>content_tki2n90204</content></entry></data> 2020-09-13 23:37:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Sep 2020 06:37:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-13 23:37:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>6b93193e-babb-4edc-8221-09b7041b26c2</value></item-id></result> 2020-09-13 23:37:54 | contains: true 2020-09-13 23:37:54 | [Mutex] waiting for: [user_regular4qa7270202@test-domain.com:message:received:content_tki2n90204] 2020-09-13 23:37:54 | [Mutex] received everything. 2020-09-13 23:37:54 | [Mutex] isItemNotified: user_regular4qa7270202@test-domain.com:message:received:content_tki2n90204 :: true 2020-09-13 23:37:54 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-13 23:37:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-13 23:37:54 | command: <data><node>node_fdjc460203</node><expire-at>2020-09-14T06:37:49Z</expire-at><entry><content>content_o66su60205</content></entry></data> 2020-09-13 23:37:54 | target: http://localhost:8088 2020-09-13 23:37:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-13 23:37:54 | entity: <data><node>node_fdjc460203</node><expire-at>2020-09-14T06:37:49Z</expire-at><entry><content>content_o66su60205</content></entry></data> 2020-09-13 23:37:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Sep 2020 06:37:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-13 23:37:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ad08f67c-a106-44ea-8811-0aca94c31c3a</value></item-id></result> 2020-09-13 23:37:54 | contains: true 2020-09-13 23:37:54 | [Mutex] waiting for: [user_regular4qa7270202@test-domain.com:message:received:content_o66su60205] 2020-09-13 23:38:09 | [Mutex] timeout. Not received [user_regular4qa7270202@test-domain.com:message:received:content_o66su60205] 2020-09-13 23:38:09 | [Mutex] isItemNotified: user_regular4qa7270202@test-domain.com:message:received:content_o66su60205 :: false 2020-09-13 23:38:09 | ===== publishing normal message (to offline) 2020-09-13 23:38:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-13 23:38:09 | command: <data><node>node_fdjc460203</node><entry><content>content_5jes9v0206</content></entry></data> 2020-09-13 23:38:09 | target: http://localhost:8088 2020-09-13 23:38:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-13 23:38:09 | entity: <data><node>node_fdjc460203</node><entry><content>content_5jes9v0206</content></entry></data> 2020-09-13 23:38:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Sep 2020 06:38:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-13 23:38:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1cda50ac-6f64-4a66-bbe7-7ba2437c02f1</value></item-id></result> 2020-09-13 23:38:09 | contains: true 2020-09-13 23:38:15 | [Mutex] waiting for: [user_regular4qa7270202@test-domain.com:message:received:content_5jes9v0206] 2020-09-13 23:38:15 | [Mutex] waiting for: [user_regular4qa7270202@test-domain.com:message:received:content_5jes9v0206] 2020-09-13 23:38:15 | [Mutex] received everything. 2020-09-13 23:38:15 | [Mutex] isItemNotified: user_regular4qa7270202@test-domain.com:message:received:content_5jes9v0206 :: true 2020-09-13 23:38:15 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-13 23:38:15 | [Mutex] received everything. 2020-09-13 23:38:15 | [Mutex] isItemNotified: node_fdjc460203:subscribe_node:success :: true 2020-09-13 23:38:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-13 23:38:15 | command: <data><node>node_fdjc460203</node><expire-at>2020-09-14T06:38:20Z</expire-at><entry><content>content_epr7hj0207</content></entry></data> 2020-09-13 23:38:15 | target: http://localhost:8088 2020-09-13 23:38:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-13 23:38:15 | entity: <data><node>node_fdjc460203</node><expire-at>2020-09-14T06:38:20Z</expire-at><entry><content>content_epr7hj0207</content></entry></data> 2020-09-13 23:38:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 14 Sep 2020 06:38:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-13 23:38:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>299286bc-95b0-4a9f-a881-3bcbd2e04ea7</value></item-id></result> 2020-09-13 23:38:15 | contains: true 2020-09-13 23:38:23 | [Mutex] waiting for: [user_regular4qa7270202@test-domain.com:message:received:content_epr7hj0207] 2020-09-13 23:38:38 | [Mutex] timeout. Not received [user_regular4qa7270202@test-domain.com:message:received:content_epr7hj0207] 2020-09-13 23:38:38 | [Mutex] received everything. 2020-09-13 23:38:38 | [Mutex] isItemNotified: user_regular4qa7270202@test-domain.com:message:received:content_epr7hj0207 :: false 2020-09-13 23:38:38 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_epr7hj0207 :: true |