Test duration : 45.423s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.762s |
2020-09-01 23:03:12 |
2020-09-01 23:03:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-01 23:03:12 | ------------------------------------ 2020-09-01 23:03:12 | [Mutex] isItemNotified: node_gghudh0203:exists :: false 2020-09-01 23:03:12 | [Mutex] waiting for: [node_gghudh0203:create_node] 2020-09-01 23:03:12 | [Mutex] received everything. 2020-09-01 23:03:12 | [Mutex] isItemNotified: node_gghudh0203:create_node:success :: true 2020-09-01 23:03:12 | [Mutex] waiting for: [node_gghudh0203:subscribe_node] 2020-09-01 23:03:12 | [Mutex] waiting for: [node_gghudh0203:subscribe_node] 2020-09-01 23:03:12 | [Mutex] received everything. 2020-09-01 23:03:12 | [Mutex] isItemNotified: node_gghudh0203:subscribe_node:success :: true 2020-09-01 23:03:12 | ===== publishing normal message (to online) 2020-09-01 23:03:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-01 23:03:12 | command: <data><node>node_gghudh0203</node><entry><content>content_n6gsh50204</content></entry></data> 2020-09-01 23:03:12 | target: http://localhost:8088 2020-09-01 23:03:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-01 23:03:12 | entity: <data><node>node_gghudh0203</node><entry><content>content_n6gsh50204</content></entry></data> 2020-09-01 23:03:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 06:03:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-01 23:03:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>36a935a8-cca0-44e0-8735-e23fc31f6b14</value></item-id></result> 2020-09-01 23:03:12 | contains: true 2020-09-01 23:03:12 | [Mutex] received everything. 2020-09-01 23:03:12 | [Mutex] isItemNotified: user_regularh2k9mm0202@test-domain.com:message:received:content_n6gsh50204 :: true 2020-09-01 23:03:12 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-01 23:03:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-01 23:03:12 | command: <data><node>node_gghudh0203</node><expire-at>2020-09-02T06:03:07Z</expire-at><entry><content>content_d6u4560205</content></entry></data> 2020-09-01 23:03:12 | target: http://localhost:8088 2020-09-01 23:03:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-01 23:03:12 | entity: <data><node>node_gghudh0203</node><expire-at>2020-09-02T06:03:07Z</expire-at><entry><content>content_d6u4560205</content></entry></data> 2020-09-01 23:03:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 06:03:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-01 23:03:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3cd04870-9d61-436a-8fbf-f04f28e3dbc6</value></item-id></result> 2020-09-01 23:03:12 | contains: true 2020-09-01 23:03:12 | [Mutex] waiting for: [user_regularh2k9mm0202@test-domain.com:message:received:content_d6u4560205] 2020-09-01 23:03:27 | [Mutex] timeout. Not received [user_regularh2k9mm0202@test-domain.com:message:received:content_d6u4560205] 2020-09-01 23:03:27 | [Mutex] isItemNotified: user_regularh2k9mm0202@test-domain.com:message:received:content_d6u4560205 :: false 2020-09-01 23:03:27 | ===== publishing normal message (to offline) 2020-09-01 23:03:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-01 23:03:27 | command: <data><node>node_gghudh0203</node><entry><content>content_c5c25n0206</content></entry></data> 2020-09-01 23:03:27 | target: http://localhost:8088 2020-09-01 23:03:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-01 23:03:27 | entity: <data><node>node_gghudh0203</node><entry><content>content_c5c25n0206</content></entry></data> 2020-09-01 23:03:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 06:03:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-01 23:03:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d84e6ee1-94dd-4f7d-b6b3-c0fa53193bc0</value></item-id></result> 2020-09-01 23:03:27 | contains: true 2020-09-01 23:03:33 | [Mutex] waiting for: [user_regularh2k9mm0202@test-domain.com:message:received:content_c5c25n0206] 2020-09-01 23:03:33 | [Mutex] waiting for: [user_regularh2k9mm0202@test-domain.com:message:received:content_c5c25n0206] 2020-09-01 23:03:33 | [Mutex] received everything. 2020-09-01 23:03:33 | [Mutex] isItemNotified: user_regularh2k9mm0202@test-domain.com:message:received:content_c5c25n0206 :: true 2020-09-01 23:03:33 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-01 23:03:33 | [Mutex] received everything. 2020-09-01 23:03:33 | [Mutex] isItemNotified: node_gghudh0203:subscribe_node:success :: true 2020-09-01 23:03:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-01 23:03:33 | command: <data><node>node_gghudh0203</node><expire-at>2020-09-02T06:03:38Z</expire-at><entry><content>content_flye5k0207</content></entry></data> 2020-09-01 23:03:33 | target: http://localhost:8088 2020-09-01 23:03:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-01 23:03:33 | entity: <data><node>node_gghudh0203</node><expire-at>2020-09-02T06:03:38Z</expire-at><entry><content>content_flye5k0207</content></entry></data> 2020-09-01 23:03:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 02 Sep 2020 06:03:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-01 23:03:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>34e74216-e2a5-4f23-bef5-d2be928a9591</value></item-id></result> 2020-09-01 23:03:33 | contains: true 2020-09-01 23:03:41 | [Mutex] waiting for: [user_regularh2k9mm0202@test-domain.com:message:received:content_flye5k0207] 2020-09-01 23:03:41 | [Mutex] waiting for: [user_regularh2k9mm0202@test-domain.com:message:received:content_flye5k0207] 2020-09-01 23:03:56 | [Mutex] timeout. Not received [user_regularh2k9mm0202@test-domain.com:message:received:content_flye5k0207] 2020-09-01 23:03:56 | [Mutex] received everything. 2020-09-01 23:03:56 | [Mutex] isItemNotified: user_regularh2k9mm0202@test-domain.com:message:received:content_flye5k0207 :: false 2020-09-01 23:03:56 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_flye5k0207 :: true |