Test duration : 45.378s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.773s |
2020-10-29 22:57:43 |
2020-10-29 22:57:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-29 22:57:43 | ------------------------------------ 2020-10-29 22:57:43 | [Mutex] isItemNotified: node_fl8zcz0203:exists :: false 2020-10-29 22:57:43 | [Mutex] waiting for: [node_fl8zcz0203:create_node] 2020-10-29 22:57:43 | [Mutex] received everything. 2020-10-29 22:57:43 | [Mutex] isItemNotified: node_fl8zcz0203:create_node:success :: true 2020-10-29 22:57:43 | [Mutex] waiting for: [node_fl8zcz0203:subscribe_node] 2020-10-29 22:57:43 | [Mutex] waiting for: [node_fl8zcz0203:subscribe_node] 2020-10-29 22:57:43 | [Mutex] received everything. 2020-10-29 22:57:43 | [Mutex] isItemNotified: node_fl8zcz0203:subscribe_node:success :: true 2020-10-29 22:57:43 | ===== publishing normal message (to online) 2020-10-29 22:57:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-29 22:57:43 | command: <data><node>node_fl8zcz0203</node><entry><content>content_xc4ojo0204</content></entry></data> 2020-10-29 22:57:43 | target: http://localhost:8088 2020-10-29 22:57:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-29 22:57:43 | entity: <data><node>node_fl8zcz0203</node><entry><content>content_xc4ojo0204</content></entry></data> 2020-10-29 22:57:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Oct 2020 05:57:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-29 22:57:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e698415a-36b4-44b7-a9b1-07ac2aff63c1</value></item-id></result> 2020-10-29 22:57:43 | contains: true 2020-10-29 22:57:43 | [Mutex] waiting for: [user_regular8pjir00202@test-domain.com:message:received:content_xc4ojo0204] 2020-10-29 22:57:43 | [Mutex] received everything. 2020-10-29 22:57:43 | [Mutex] isItemNotified: user_regular8pjir00202@test-domain.com:message:received:content_xc4ojo0204 :: true 2020-10-29 22:57:43 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-29 22:57:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-29 22:57:43 | command: <data><node>node_fl8zcz0203</node><expire-at>2020-10-30T05:57:38Z</expire-at><entry><content>content_jrqwqo0205</content></entry></data> 2020-10-29 22:57:43 | target: http://localhost:8088 2020-10-29 22:57:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-29 22:57:43 | entity: <data><node>node_fl8zcz0203</node><expire-at>2020-10-30T05:57:38Z</expire-at><entry><content>content_jrqwqo0205</content></entry></data> 2020-10-29 22:57:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Oct 2020 05:57:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-29 22:57:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c97f9b34-172a-4b80-8eb4-4036f4cb5fa4</value></item-id></result> 2020-10-29 22:57:43 | contains: true 2020-10-29 22:57:43 | [Mutex] waiting for: [user_regular8pjir00202@test-domain.com:message:received:content_jrqwqo0205] 2020-10-29 22:57:58 | [Mutex] timeout. Not received [user_regular8pjir00202@test-domain.com:message:received:content_jrqwqo0205] 2020-10-29 22:57:58 | [Mutex] isItemNotified: user_regular8pjir00202@test-domain.com:message:received:content_jrqwqo0205 :: false 2020-10-29 22:57:58 | ===== publishing normal message (to offline) 2020-10-29 22:57:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-29 22:57:58 | command: <data><node>node_fl8zcz0203</node><entry><content>content_iafsbw0206</content></entry></data> 2020-10-29 22:57:58 | target: http://localhost:8088 2020-10-29 22:57:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-29 22:57:58 | entity: <data><node>node_fl8zcz0203</node><entry><content>content_iafsbw0206</content></entry></data> 2020-10-29 22:57:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Oct 2020 05:57:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-29 22:57:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5af43e15-115e-4fdd-8e75-1a9fed872c1c</value></item-id></result> 2020-10-29 22:57:58 | contains: true 2020-10-29 22:58:04 | [Mutex] waiting for: [user_regular8pjir00202@test-domain.com:message:received:content_iafsbw0206] 2020-10-29 22:58:04 | [Mutex] received everything. 2020-10-29 22:58:04 | [Mutex] isItemNotified: user_regular8pjir00202@test-domain.com:message:received:content_iafsbw0206 :: true 2020-10-29 22:58:04 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-29 22:58:04 | [Mutex] received everything. 2020-10-29 22:58:04 | [Mutex] isItemNotified: node_fl8zcz0203:subscribe_node:success :: true 2020-10-29 22:58:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-29 22:58:04 | command: <data><node>node_fl8zcz0203</node><expire-at>2020-10-30T05:58:09Z</expire-at><entry><content>content_2jxaxw0207</content></entry></data> 2020-10-29 22:58:04 | target: http://localhost:8088 2020-10-29 22:58:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-29 22:58:04 | entity: <data><node>node_fl8zcz0203</node><expire-at>2020-10-30T05:58:09Z</expire-at><entry><content>content_2jxaxw0207</content></entry></data> 2020-10-29 22:58:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 30 Oct 2020 05:58:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-29 22:58:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b7842798-3e94-4830-b910-5c060d05a4ce</value></item-id></result> 2020-10-29 22:58:04 | contains: true 2020-10-29 22:58:12 | [Mutex] waiting for: [user_regular8pjir00202@test-domain.com:message:received:content_2jxaxw0207] 2020-10-29 22:58:12 | [Mutex] waiting for: [user_regular8pjir00202@test-domain.com:message:received:content_2jxaxw0207] 2020-10-29 22:58:27 | [Mutex] timeout. Not received [user_regular8pjir00202@test-domain.com:message:received:content_2jxaxw0207] 2020-10-29 22:58:27 | [Mutex] received everything. 2020-10-29 22:58:27 | [Mutex] isItemNotified: user_regular8pjir00202@test-domain.com:message:received:content_2jxaxw0207 :: false 2020-10-29 22:58:27 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2jxaxw0207 :: true |