Test duration : 45.406s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.777s |
2020-10-19 23:22:38 |
2020-10-19 23:22:38 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-19 23:22:38 | ------------------------------------ 2020-10-19 23:22:38 | [Mutex] isItemNotified: node_7bisa40203:exists :: false 2020-10-19 23:22:38 | [Mutex] waiting for: [node_7bisa40203:create_node] 2020-10-19 23:22:38 | [Mutex] received everything. 2020-10-19 23:22:38 | [Mutex] isItemNotified: node_7bisa40203:create_node:success :: true 2020-10-19 23:22:38 | [Mutex] waiting for: [node_7bisa40203:subscribe_node] 2020-10-19 23:22:38 | [Mutex] received everything. 2020-10-19 23:22:38 | [Mutex] isItemNotified: node_7bisa40203:subscribe_node:success :: true 2020-10-19 23:22:38 | ===== publishing normal message (to online) 2020-10-19 23:22:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-19 23:22:38 | command: <data><node>node_7bisa40203</node><entry><content>content_2yn9yh0204</content></entry></data> 2020-10-19 23:22:38 | target: http://localhost:8088 2020-10-19 23:22:38 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-19 23:22:38 | entity: <data><node>node_7bisa40203</node><entry><content>content_2yn9yh0204</content></entry></data> 2020-10-19 23:22:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 20 Oct 2020 06:22:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-19 23:22:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>be81b54d-77e4-4e8b-a1ad-e933f3dd55a5</value></item-id></result> 2020-10-19 23:22:38 | contains: true 2020-10-19 23:22:38 | [Mutex] waiting for: [user_regularyb5w6z0202@test-domain.com:message:received:content_2yn9yh0204] 2020-10-19 23:22:38 | [Mutex] received everything. 2020-10-19 23:22:38 | [Mutex] isItemNotified: user_regularyb5w6z0202@test-domain.com:message:received:content_2yn9yh0204 :: true 2020-10-19 23:22:38 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-19 23:22:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-19 23:22:38 | command: <data><node>node_7bisa40203</node><expire-at>2020-10-20T06:22:33Z</expire-at><entry><content>content_kimaxu0205</content></entry></data> 2020-10-19 23:22:38 | target: http://localhost:8088 2020-10-19 23:22:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-19 23:22:38 | entity: <data><node>node_7bisa40203</node><expire-at>2020-10-20T06:22:33Z</expire-at><entry><content>content_kimaxu0205</content></entry></data> 2020-10-19 23:22:38 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 20 Oct 2020 06:22:38 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-19 23:22:38 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c4eef6c4-7902-4a29-83ca-486d61d276c1</value></item-id></result> 2020-10-19 23:22:38 | contains: true 2020-10-19 23:22:38 | [Mutex] waiting for: [user_regularyb5w6z0202@test-domain.com:message:received:content_kimaxu0205] 2020-10-19 23:22:53 | [Mutex] timeout. Not received [user_regularyb5w6z0202@test-domain.com:message:received:content_kimaxu0205] 2020-10-19 23:22:53 | [Mutex] isItemNotified: user_regularyb5w6z0202@test-domain.com:message:received:content_kimaxu0205 :: false 2020-10-19 23:22:53 | ===== publishing normal message (to offline) 2020-10-19 23:22:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-19 23:22:53 | command: <data><node>node_7bisa40203</node><entry><content>content_q5brou0206</content></entry></data> 2020-10-19 23:22:53 | target: http://localhost:8088 2020-10-19 23:22:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-19 23:22:53 | entity: <data><node>node_7bisa40203</node><entry><content>content_q5brou0206</content></entry></data> 2020-10-19 23:22:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 20 Oct 2020 06:22:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-19 23:22:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>642899b1-dab7-4283-94ec-5b99bc4d3a4d</value></item-id></result> 2020-10-19 23:22:53 | contains: true 2020-10-19 23:22:58 | [Mutex] waiting for: [user_regularyb5w6z0202@test-domain.com:message:received:content_q5brou0206] 2020-10-19 23:22:58 | [Mutex] received everything. 2020-10-19 23:22:58 | [Mutex] isItemNotified: user_regularyb5w6z0202@test-domain.com:message:received:content_q5brou0206 :: true 2020-10-19 23:22:58 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-19 23:22:58 | [Mutex] received everything. 2020-10-19 23:22:58 | [Mutex] isItemNotified: node_7bisa40203:subscribe_node:success :: true 2020-10-19 23:22:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-19 23:22:58 | command: <data><node>node_7bisa40203</node><expire-at>2020-10-20T06:23:03Z</expire-at><entry><content>content_sfmhrb0207</content></entry></data> 2020-10-19 23:22:58 | target: http://localhost:8088 2020-10-19 23:22:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-19 23:22:58 | entity: <data><node>node_7bisa40203</node><expire-at>2020-10-20T06:23:03Z</expire-at><entry><content>content_sfmhrb0207</content></entry></data> 2020-10-19 23:22:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 20 Oct 2020 06:22:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-19 23:22:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>925fd7db-9c5b-46c9-a5bc-9203b0676755</value></item-id></result> 2020-10-19 23:22:58 | contains: true 2020-10-19 23:23:06 | [Mutex] waiting for: [user_regularyb5w6z0202@test-domain.com:message:received:content_sfmhrb0207] 2020-10-19 23:23:06 | [Mutex] waiting for: [user_regularyb5w6z0202@test-domain.com:message:received:content_sfmhrb0207] 2020-10-19 23:23:21 | [Mutex] timeout. Not received [user_regularyb5w6z0202@test-domain.com:message:received:content_sfmhrb0207] 2020-10-19 23:23:21 | [Mutex] received everything. 2020-10-19 23:23:21 | [Mutex] isItemNotified: user_regularyb5w6z0202@test-domain.com:message:received:content_sfmhrb0207 :: false 2020-10-19 23:23:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_sfmhrb0207 :: true |