Test duration : 45.332s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.741s |
2021-03-05 04:30:55 |
2021-03-05 04:30:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-03-05 04:30:55 | ------------------------------------ 2021-03-05 04:30:55 | [Mutex] isItemNotified: node_33lw1r0203:exists :: false 2021-03-05 04:30:55 | [Mutex] waiting for: [node_33lw1r0203:create_node] 2021-03-05 04:30:55 | [Mutex] received everything. 2021-03-05 04:30:55 | [Mutex] isItemNotified: node_33lw1r0203:create_node:success :: true 2021-03-05 04:30:55 | [Mutex] waiting for: [node_33lw1r0203:subscribe_node] 2021-03-05 04:30:55 | [Mutex] waiting for: [node_33lw1r0203:subscribe_node] 2021-03-05 04:30:55 | [Mutex] received everything. 2021-03-05 04:30:55 | [Mutex] isItemNotified: node_33lw1r0203:subscribe_node:success :: true 2021-03-05 04:30:55 | ===== publishing normal message (to online) 2021-03-05 04:30:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-05 04:30:55 | command: <data><node>node_33lw1r0203</node><entry><content>content_y1hgfk0204</content></entry></data> 2021-03-05 04:30:55 | target: http://localhost:8088 2021-03-05 04:30:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-05 04:30:55 | entity: <data><node>node_33lw1r0203</node><entry><content>content_y1hgfk0204</content></entry></data> 2021-03-05 04:30:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Mar 2021 12:30:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-05 04:30:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a13b6f71-9306-41c0-a63d-6d507c914f9d</value></item-id></result> 2021-03-05 04:30:55 | contains: true 2021-03-05 04:30:55 | [Mutex] waiting for: [user_regular2kgs780202@test-domain.com:message:received:content_y1hgfk0204] 2021-03-05 04:30:55 | [Mutex] received everything. 2021-03-05 04:30:55 | [Mutex] isItemNotified: user_regular2kgs780202@test-domain.com:message:received:content_y1hgfk0204 :: true 2021-03-05 04:30:55 | ===== publishing already old message - expecting message being filtered out (to online) 2021-03-05 04:30:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-05 04:30:55 | command: <data><node>node_33lw1r0203</node><expire-at>2021-03-05T12:30:50Z</expire-at><entry><content>content_4neryk0205</content></entry></data> 2021-03-05 04:30:55 | target: http://localhost:8088 2021-03-05 04:30:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-05 04:30:55 | entity: <data><node>node_33lw1r0203</node><expire-at>2021-03-05T12:30:50Z</expire-at><entry><content>content_4neryk0205</content></entry></data> 2021-03-05 04:30:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Mar 2021 12:30:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-05 04:30:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>a02fecf8-f2c7-468c-887d-044d0e3ddfa7</value></item-id></result> 2021-03-05 04:30:55 | contains: true 2021-03-05 04:30:55 | [Mutex] waiting for: [user_regular2kgs780202@test-domain.com:message:received:content_4neryk0205] 2021-03-05 04:31:10 | [Mutex] timeout. Not received [user_regular2kgs780202@test-domain.com:message:received:content_4neryk0205] 2021-03-05 04:31:10 | [Mutex] isItemNotified: user_regular2kgs780202@test-domain.com:message:received:content_4neryk0205 :: false 2021-03-05 04:31:10 | ===== publishing normal message (to offline) 2021-03-05 04:31:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-05 04:31:10 | command: <data><node>node_33lw1r0203</node><entry><content>content_llhl2z0206</content></entry></data> 2021-03-05 04:31:10 | target: http://localhost:8088 2021-03-05 04:31:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-03-05 04:31:10 | entity: <data><node>node_33lw1r0203</node><entry><content>content_llhl2z0206</content></entry></data> 2021-03-05 04:31:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Mar 2021 12:31:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-05 04:31:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>6c279c3b-8eca-4eb8-a828-714be3753496</value></item-id></result> 2021-03-05 04:31:10 | contains: true 2021-03-05 04:31:15 | [Mutex] waiting for: [user_regular2kgs780202@test-domain.com:message:received:content_llhl2z0206] 2021-03-05 04:31:15 | [Mutex] received everything. 2021-03-05 04:31:15 | [Mutex] isItemNotified: user_regular2kgs780202@test-domain.com:message:received:content_llhl2z0206 :: true 2021-03-05 04:31:15 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-03-05 04:31:15 | [Mutex] received everything. 2021-03-05 04:31:15 | [Mutex] isItemNotified: node_33lw1r0203:subscribe_node:success :: true 2021-03-05 04:31:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-03-05 04:31:15 | command: <data><node>node_33lw1r0203</node><expire-at>2021-03-05T12:31:20Z</expire-at><entry><content>content_jkx0780207</content></entry></data> 2021-03-05 04:31:15 | target: http://localhost:8088 2021-03-05 04:31:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-03-05 04:31:15 | entity: <data><node>node_33lw1r0203</node><expire-at>2021-03-05T12:31:20Z</expire-at><entry><content>content_jkx0780207</content></entry></data> 2021-03-05 04:31:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Mar 2021 12:31:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-03-05 04:31:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>784e1159-2878-4a7c-846e-cbfd8d54c7ce</value></item-id></result> 2021-03-05 04:31:15 | contains: true 2021-03-05 04:31:24 | [Mutex] waiting for: [user_regular2kgs780202@test-domain.com:message:received:content_jkx0780207] 2021-03-05 04:31:39 | [Mutex] timeout. Not received [user_regular2kgs780202@test-domain.com:message:received:content_jkx0780207] 2021-03-05 04:31:39 | [Mutex] received everything. 2021-03-05 04:31:39 | [Mutex] isItemNotified: user_regular2kgs780202@test-domain.com:message:received:content_jkx0780207 :: false 2021-03-05 04:31:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jkx0780207 :: true |