Test duration : 45.099s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.654s |
2020-09-18 22:39:55 |
2020-09-18 22:39:55 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-18 22:39:55 | ------------------------------------ 2020-09-18 22:39:55 | [Mutex] isItemNotified: node_qwuscj0203:exists :: false 2020-09-18 22:39:55 | [Mutex] waiting for: [node_qwuscj0203:create_node] 2020-09-18 22:39:55 | [Mutex] received everything. 2020-09-18 22:39:55 | [Mutex] isItemNotified: node_qwuscj0203:create_node:success :: true 2020-09-18 22:39:55 | [Mutex] waiting for: [node_qwuscj0203:subscribe_node] 2020-09-18 22:39:55 | [Mutex] received everything. 2020-09-18 22:39:55 | [Mutex] isItemNotified: node_qwuscj0203:subscribe_node:success :: true 2020-09-18 22:39:55 | ===== publishing normal message (to online) 2020-09-18 22:39:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 22:39:55 | command: <data><node>node_qwuscj0203</node><entry><content>content_acniyd0204</content></entry></data> 2020-09-18 22:39:55 | target: http://localhost:8088 2020-09-18 22:39:55 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-18 22:39:55 | entity: <data><node>node_qwuscj0203</node><entry><content>content_acniyd0204</content></entry></data> 2020-09-18 22:39:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 05:39:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 22:39:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>27abf486-f6e7-4f51-a3f6-c9ff8beedf34</value></item-id></result> 2020-09-18 22:39:55 | contains: true 2020-09-18 22:39:55 | [Mutex] received everything. 2020-09-18 22:39:55 | [Mutex] isItemNotified: user_regularuoh9qx0202@test-domain.com:message:received:content_acniyd0204 :: true 2020-09-18 22:39:55 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-18 22:39:55 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 22:39:55 | command: <data><node>node_qwuscj0203</node><expire-at>2020-09-19T05:39:50Z</expire-at><entry><content>content_i9bz640205</content></entry></data> 2020-09-18 22:39:55 | target: http://localhost:8088 2020-09-18 22:39:55 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-18 22:39:55 | entity: <data><node>node_qwuscj0203</node><expire-at>2020-09-19T05:39:50Z</expire-at><entry><content>content_i9bz640205</content></entry></data> 2020-09-18 22:39:55 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 05:39:55 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 22:39:55 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>639984ae-23cd-4737-8a84-e38513f1ead4</value></item-id></result> 2020-09-18 22:39:55 | contains: true 2020-09-18 22:39:55 | [Mutex] waiting for: [user_regularuoh9qx0202@test-domain.com:message:received:content_i9bz640205] 2020-09-18 22:40:10 | [Mutex] timeout. Not received [user_regularuoh9qx0202@test-domain.com:message:received:content_i9bz640205] 2020-09-18 22:40:10 | [Mutex] isItemNotified: user_regularuoh9qx0202@test-domain.com:message:received:content_i9bz640205 :: false 2020-09-18 22:40:10 | ===== publishing normal message (to offline) 2020-09-18 22:40:10 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 22:40:10 | command: <data><node>node_qwuscj0203</node><entry><content>content_eohjn40206</content></entry></data> 2020-09-18 22:40:10 | target: http://localhost:8088 2020-09-18 22:40:10 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-18 22:40:10 | entity: <data><node>node_qwuscj0203</node><entry><content>content_eohjn40206</content></entry></data> 2020-09-18 22:40:10 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 05:40:10 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 22:40:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>dc5a0a05-36a7-43c1-8b9f-7bd7fdad97fd</value></item-id></result> 2020-09-18 22:40:10 | contains: true 2020-09-18 22:40:15 | [Mutex] waiting for: [user_regularuoh9qx0202@test-domain.com:message:received:content_eohjn40206] 2020-09-18 22:40:15 | [Mutex] waiting for: [user_regularuoh9qx0202@test-domain.com:message:received:content_eohjn40206] 2020-09-18 22:40:15 | [Mutex] received everything. 2020-09-18 22:40:15 | [Mutex] isItemNotified: user_regularuoh9qx0202@test-domain.com:message:received:content_eohjn40206 :: true 2020-09-18 22:40:15 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-18 22:40:15 | [Mutex] received everything. 2020-09-18 22:40:15 | [Mutex] isItemNotified: node_qwuscj0203:subscribe_node:success :: true 2020-09-18 22:40:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 22:40:15 | command: <data><node>node_qwuscj0203</node><expire-at>2020-09-19T05:40:20Z</expire-at><entry><content>content_e6ak9r0207</content></entry></data> 2020-09-18 22:40:15 | target: http://localhost:8088 2020-09-18 22:40:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-18 22:40:15 | entity: <data><node>node_qwuscj0203</node><expire-at>2020-09-19T05:40:20Z</expire-at><entry><content>content_e6ak9r0207</content></entry></data> 2020-09-18 22:40:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 19 Sep 2020 05:40:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 22:40:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>690b46e1-1a2f-42cd-abd8-0faa067ab7e9</value></item-id></result> 2020-09-18 22:40:15 | contains: true 2020-09-18 22:40:24 | [Mutex] waiting for: [user_regularuoh9qx0202@test-domain.com:message:received:content_e6ak9r0207] 2020-09-18 22:40:24 | [Mutex] waiting for: [user_regularuoh9qx0202@test-domain.com:message:received:content_e6ak9r0207] 2020-09-18 22:40:39 | [Mutex] timeout. Not received [user_regularuoh9qx0202@test-domain.com:message:received:content_e6ak9r0207] 2020-09-18 22:40:39 | [Mutex] received everything. 2020-09-18 22:40:39 | [Mutex] isItemNotified: user_regularuoh9qx0202@test-domain.com:message:received:content_e6ak9r0207 :: false 2020-09-18 22:40:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_e6ak9r0207 :: true |