Test duration : 45.415s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.643s |
2021-05-13 23:01:59 |
2021-05-13 23:01:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-05-13 23:01:59 | ------------------------------------ 2021-05-13 23:01:59 | [Mutex] isItemNotified: node_tb0r3v0203:exists :: false 2021-05-13 23:01:59 | [Mutex] waiting for: [node_tb0r3v0203:create_node] 2021-05-13 23:01:59 | [Mutex] received everything. 2021-05-13 23:01:59 | [Mutex] isItemNotified: node_tb0r3v0203:create_node:success :: true 2021-05-13 23:01:59 | [Mutex] waiting for: [node_tb0r3v0203:subscribe_node] 2021-05-13 23:01:59 | [Mutex] waiting for: [node_tb0r3v0203:subscribe_node] 2021-05-13 23:01:59 | [Mutex] received everything. 2021-05-13 23:01:59 | [Mutex] isItemNotified: node_tb0r3v0203:subscribe_node:success :: true 2021-05-13 23:01:59 | ===== publishing normal message (to online) 2021-05-13 23:01:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-13 23:01:59 | command: <data><node>node_tb0r3v0203</node><entry><content>content_vxfzrq0204</content></entry></data> 2021-05-13 23:01:59 | target: http://localhost:8088 2021-05-13 23:01:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-13 23:01:59 | entity: <data><node>node_tb0r3v0203</node><entry><content>content_vxfzrq0204</content></entry></data> 2021-05-13 23:01:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 06:01:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-13 23:01:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9dbbad11-d336-40dc-bb4b-ff435dc3002f</value></item-id></result> 2021-05-13 23:01:59 | contains: true 2021-05-13 23:01:59 | [Mutex] received everything. 2021-05-13 23:01:59 | [Mutex] isItemNotified: user_regulars7phj00202@test-domain.com:message:received:content_vxfzrq0204 :: true 2021-05-13 23:01:59 | ===== publishing already old message - expecting message being filtered out (to online) 2021-05-13 23:01:59 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-13 23:01:59 | command: <data><node>node_tb0r3v0203</node><expire-at>2021-05-14T06:01:54Z</expire-at><entry><content>content_iwjhlh0205</content></entry></data> 2021-05-13 23:01:59 | target: http://localhost:8088 2021-05-13 23:01:59 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-13 23:01:59 | entity: <data><node>node_tb0r3v0203</node><expire-at>2021-05-14T06:01:54Z</expire-at><entry><content>content_iwjhlh0205</content></entry></data> 2021-05-13 23:01:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 06:01:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-13 23:01:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>aa746636-1a3e-40b3-bf52-e839b4fada04</value></item-id></result> 2021-05-13 23:01:59 | contains: true 2021-05-13 23:01:59 | [Mutex] waiting for: [user_regulars7phj00202@test-domain.com:message:received:content_iwjhlh0205] 2021-05-13 23:02:14 | [Mutex] timeout. Not received [user_regulars7phj00202@test-domain.com:message:received:content_iwjhlh0205] 2021-05-13 23:02:14 | [Mutex] isItemNotified: user_regulars7phj00202@test-domain.com:message:received:content_iwjhlh0205 :: false 2021-05-13 23:02:14 | ===== publishing normal message (to offline) 2021-05-13 23:02:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-13 23:02:14 | command: <data><node>node_tb0r3v0203</node><entry><content>content_893pg80206</content></entry></data> 2021-05-13 23:02:14 | target: http://localhost:8088 2021-05-13 23:02:14 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-05-13 23:02:14 | entity: <data><node>node_tb0r3v0203</node><entry><content>content_893pg80206</content></entry></data> 2021-05-13 23:02:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 06:02:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-13 23:02:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ff1803bf-854b-4767-b9a4-cff0b21f1420</value></item-id></result> 2021-05-13 23:02:14 | contains: true 2021-05-13 23:02:19 | [Mutex] waiting for: [user_regulars7phj00202@test-domain.com:message:received:content_893pg80206] 2021-05-13 23:02:19 | [Mutex] waiting for: [user_regulars7phj00202@test-domain.com:message:received:content_893pg80206] 2021-05-13 23:02:19 | [Mutex] received everything. 2021-05-13 23:02:19 | [Mutex] isItemNotified: user_regulars7phj00202@test-domain.com:message:received:content_893pg80206 :: true 2021-05-13 23:02:19 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-05-13 23:02:19 | [Mutex] received everything. 2021-05-13 23:02:19 | [Mutex] isItemNotified: node_tb0r3v0203:subscribe_node:success :: true 2021-05-13 23:02:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-05-13 23:02:19 | command: <data><node>node_tb0r3v0203</node><expire-at>2021-05-14T06:02:24Z</expire-at><entry><content>content_a5f5f10207</content></entry></data> 2021-05-13 23:02:19 | target: http://localhost:8088 2021-05-13 23:02:19 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-05-13 23:02:19 | entity: <data><node>node_tb0r3v0203</node><expire-at>2021-05-14T06:02:24Z</expire-at><entry><content>content_a5f5f10207</content></entry></data> 2021-05-13 23:02:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 14 May 2021 06:02:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-05-13 23:02:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e5cd5eb1-b264-4a95-889b-22cefff589b2</value></item-id></result> 2021-05-13 23:02:19 | contains: true 2021-05-13 23:02:27 | [Mutex] waiting for: [user_regulars7phj00202@test-domain.com:message:received:content_a5f5f10207] 2021-05-13 23:02:28 | [Mutex] waiting for: [user_regulars7phj00202@test-domain.com:message:received:content_a5f5f10207] 2021-05-13 23:02:42 | [Mutex] timeout. Not received [user_regulars7phj00202@test-domain.com:message:received:content_a5f5f10207] 2021-05-13 23:02:42 | [Mutex] received everything. 2021-05-13 23:02:42 | [Mutex] isItemNotified: user_regulars7phj00202@test-domain.com:message:received:content_a5f5f10207 :: false 2021-05-13 23:02:42 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_a5f5f10207 :: true |