Test duration : 45.010s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.695s |
2020-09-15 22:46:37 |
2020-09-15 22:46:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-15 22:46:37 | ------------------------------------ 2020-09-15 22:46:37 | [Mutex] isItemNotified: node_mkcinr0203:exists :: false 2020-09-15 22:46:37 | [Mutex] waiting for: [node_mkcinr0203:create_node] 2020-09-15 22:46:37 | [Mutex] received everything. 2020-09-15 22:46:37 | [Mutex] isItemNotified: node_mkcinr0203:create_node:success :: true 2020-09-15 22:46:37 | [Mutex] waiting for: [node_mkcinr0203:subscribe_node] 2020-09-15 22:46:37 | [Mutex] waiting for: [node_mkcinr0203:subscribe_node] 2020-09-15 22:46:37 | [Mutex] received everything. 2020-09-15 22:46:37 | [Mutex] isItemNotified: node_mkcinr0203:subscribe_node:success :: true 2020-09-15 22:46:37 | ===== publishing normal message (to online) 2020-09-15 22:46:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-15 22:46:37 | command: <data><node>node_mkcinr0203</node><entry><content>content_fs7eh70204</content></entry></data> 2020-09-15 22:46:37 | target: http://localhost:8088 2020-09-15 22:46:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-15 22:46:37 | entity: <data><node>node_mkcinr0203</node><entry><content>content_fs7eh70204</content></entry></data> 2020-09-15 22:46:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Sep 2020 05:46:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-15 22:46:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f3bb6df7-3889-4126-a9c7-2ffc772a9fb2</value></item-id></result> 2020-09-15 22:46:37 | contains: true 2020-09-15 22:46:37 | [Mutex] waiting for: [user_regularxsyzb10202@test-domain.com:message:received:content_fs7eh70204] 2020-09-15 22:46:37 | [Mutex] received everything. 2020-09-15 22:46:37 | [Mutex] isItemNotified: user_regularxsyzb10202@test-domain.com:message:received:content_fs7eh70204 :: true 2020-09-15 22:46:37 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-15 22:46:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-15 22:46:37 | command: <data><node>node_mkcinr0203</node><expire-at>2020-09-16T05:46:32Z</expire-at><entry><content>content_m0qkw70205</content></entry></data> 2020-09-15 22:46:37 | target: http://localhost:8088 2020-09-15 22:46:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-15 22:46:37 | entity: <data><node>node_mkcinr0203</node><expire-at>2020-09-16T05:46:32Z</expire-at><entry><content>content_m0qkw70205</content></entry></data> 2020-09-15 22:46:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Sep 2020 05:46:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-15 22:46:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d074f713-cdcc-421a-bcfc-b18fef556374</value></item-id></result> 2020-09-15 22:46:37 | contains: true 2020-09-15 22:46:37 | [Mutex] waiting for: [user_regularxsyzb10202@test-domain.com:message:received:content_m0qkw70205] 2020-09-15 22:46:52 | [Mutex] timeout. Not received [user_regularxsyzb10202@test-domain.com:message:received:content_m0qkw70205] 2020-09-15 22:46:52 | [Mutex] isItemNotified: user_regularxsyzb10202@test-domain.com:message:received:content_m0qkw70205 :: false 2020-09-15 22:46:52 | ===== publishing normal message (to offline) 2020-09-15 22:46:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-15 22:46:52 | command: <data><node>node_mkcinr0203</node><entry><content>content_8hwoh20206</content></entry></data> 2020-09-15 22:46:52 | target: http://localhost:8088 2020-09-15 22:46:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-15 22:46:52 | entity: <data><node>node_mkcinr0203</node><entry><content>content_8hwoh20206</content></entry></data> 2020-09-15 22:46:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Sep 2020 05:46:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-15 22:46:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>002078b2-748c-454b-8e76-d4ed0ef1a19f</value></item-id></result> 2020-09-15 22:46:52 | contains: true 2020-09-15 22:46:57 | [Mutex] waiting for: [user_regularxsyzb10202@test-domain.com:message:received:content_8hwoh20206] 2020-09-15 22:46:57 | [Mutex] waiting for: [user_regularxsyzb10202@test-domain.com:message:received:content_8hwoh20206] 2020-09-15 22:46:57 | [Mutex] received everything. 2020-09-15 22:46:57 | [Mutex] isItemNotified: user_regularxsyzb10202@test-domain.com:message:received:content_8hwoh20206 :: true 2020-09-15 22:46:57 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-15 22:46:57 | [Mutex] received everything. 2020-09-15 22:46:57 | [Mutex] isItemNotified: node_mkcinr0203:subscribe_node:success :: true 2020-09-15 22:46:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-15 22:46:57 | command: <data><node>node_mkcinr0203</node><expire-at>2020-09-16T05:47:02Z</expire-at><entry><content>content_a8sunv0207</content></entry></data> 2020-09-15 22:46:57 | target: http://localhost:8088 2020-09-15 22:46:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-15 22:46:57 | entity: <data><node>node_mkcinr0203</node><expire-at>2020-09-16T05:47:02Z</expire-at><entry><content>content_a8sunv0207</content></entry></data> 2020-09-15 22:46:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Sep 2020 05:46:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-15 22:46:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cb1825e9-591c-4bc7-b74b-e68047695c26</value></item-id></result> 2020-09-15 22:46:57 | contains: true 2020-09-15 22:47:05 | [Mutex] waiting for: [user_regularxsyzb10202@test-domain.com:message:received:content_a8sunv0207] 2020-09-15 22:47:05 | [Mutex] waiting for: [user_regularxsyzb10202@test-domain.com:message:received:content_a8sunv0207] 2020-09-15 22:47:20 | [Mutex] timeout. Not received [user_regularxsyzb10202@test-domain.com:message:received:content_a8sunv0207] 2020-09-15 22:47:20 | [Mutex] received everything. 2020-09-15 22:47:20 | [Mutex] isItemNotified: user_regularxsyzb10202@test-domain.com:message:received:content_a8sunv0207 :: false 2020-09-15 22:47:20 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_a8sunv0207 :: true |