Test duration : 45.559s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.724s |
2021-01-27 05:57:41 |
2021-01-27 05:57:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2021-01-27 05:57:41 | ------------------------------------ 2021-01-27 05:57:41 | [Mutex] isItemNotified: node_54rq0u0203:exists :: false 2021-01-27 05:57:41 | [Mutex] waiting for: [node_54rq0u0203:create_node] 2021-01-27 05:57:41 | [Mutex] received everything. 2021-01-27 05:57:41 | [Mutex] isItemNotified: node_54rq0u0203:create_node:success :: true 2021-01-27 05:57:41 | [Mutex] waiting for: [node_54rq0u0203:subscribe_node] 2021-01-27 05:57:41 | [Mutex] received everything. 2021-01-27 05:57:41 | [Mutex] isItemNotified: node_54rq0u0203:subscribe_node:success :: true 2021-01-27 05:57:41 | ===== publishing normal message (to online) 2021-01-27 05:57:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 05:57:41 | command: <data><node>node_54rq0u0203</node><entry><content>content_fnm88o0204</content></entry></data> 2021-01-27 05:57:41 | target: http://localhost:8088 2021-01-27 05:57:41 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-27 05:57:41 | entity: <data><node>node_54rq0u0203</node><entry><content>content_fnm88o0204</content></entry></data> 2021-01-27 05:57:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 13:57:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 05:57:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>3e842403-7822-47af-aab2-943e981cd6fe</value></item-id></result> 2021-01-27 05:57:41 | contains: true 2021-01-27 05:57:41 | [Mutex] waiting for: [user_regularh7k3io0202@test-domain.com:message:received:content_fnm88o0204] 2021-01-27 05:57:41 | [Mutex] received everything. 2021-01-27 05:57:41 | [Mutex] isItemNotified: user_regularh7k3io0202@test-domain.com:message:received:content_fnm88o0204 :: true 2021-01-27 05:57:41 | ===== publishing already old message - expecting message being filtered out (to online) 2021-01-27 05:57:41 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 05:57:41 | command: <data><node>node_54rq0u0203</node><expire-at>2021-01-27T13:57:36Z</expire-at><entry><content>content_4vz1co0205</content></entry></data> 2021-01-27 05:57:41 | target: http://localhost:8088 2021-01-27 05:57:41 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-27 05:57:41 | entity: <data><node>node_54rq0u0203</node><expire-at>2021-01-27T13:57:36Z</expire-at><entry><content>content_4vz1co0205</content></entry></data> 2021-01-27 05:57:41 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 13:57:41 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 05:57:41 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d0385aac-58e1-4340-89ce-dbd9aa4cae17</value></item-id></result> 2021-01-27 05:57:41 | contains: true 2021-01-27 05:57:41 | [Mutex] waiting for: [user_regularh7k3io0202@test-domain.com:message:received:content_4vz1co0205] 2021-01-27 05:57:56 | [Mutex] timeout. Not received [user_regularh7k3io0202@test-domain.com:message:received:content_4vz1co0205] 2021-01-27 05:57:56 | [Mutex] isItemNotified: user_regularh7k3io0202@test-domain.com:message:received:content_4vz1co0205 :: false 2021-01-27 05:57:56 | ===== publishing normal message (to offline) 2021-01-27 05:57:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 05:57:56 | command: <data><node>node_54rq0u0203</node><entry><content>content_ovkjcz0206</content></entry></data> 2021-01-27 05:57:56 | target: http://localhost:8088 2021-01-27 05:57:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2021-01-27 05:57:56 | entity: <data><node>node_54rq0u0203</node><entry><content>content_ovkjcz0206</content></entry></data> 2021-01-27 05:57:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 13:57:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 05:57:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5c00c218-9f84-45fd-8fe3-7c8ece68c247</value></item-id></result> 2021-01-27 05:57:56 | contains: true 2021-01-27 05:58:02 | [Mutex] waiting for: [user_regularh7k3io0202@test-domain.com:message:received:content_ovkjcz0206] 2021-01-27 05:58:02 | [Mutex] waiting for: [user_regularh7k3io0202@test-domain.com:message:received:content_ovkjcz0206] 2021-01-27 05:58:02 | [Mutex] received everything. 2021-01-27 05:58:02 | [Mutex] isItemNotified: user_regularh7k3io0202@test-domain.com:message:received:content_ovkjcz0206 :: true 2021-01-27 05:58:02 | ===== publishing already old message - expecting message being filtered out (to offline) 2021-01-27 05:58:02 | [Mutex] received everything. 2021-01-27 05:58:02 | [Mutex] isItemNotified: node_54rq0u0203:subscribe_node:success :: true 2021-01-27 05:58:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2021-01-27 05:58:02 | command: <data><node>node_54rq0u0203</node><expire-at>2021-01-27T13:58:07Z</expire-at><entry><content>content_smn0vq0207</content></entry></data> 2021-01-27 05:58:02 | target: http://localhost:8088 2021-01-27 05:58:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2021-01-27 05:58:02 | entity: <data><node>node_54rq0u0203</node><expire-at>2021-01-27T13:58:07Z</expire-at><entry><content>content_smn0vq0207</content></entry></data> 2021-01-27 05:58:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 Jan 2021 13:58:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2021-01-27 05:58:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>aaf2fa7e-c182-45fa-96d1-bf2a34e35078</value></item-id></result> 2021-01-27 05:58:02 | contains: true 2021-01-27 05:58:10 | [Mutex] waiting for: [user_regularh7k3io0202@test-domain.com:message:received:content_smn0vq0207] 2021-01-27 05:58:25 | [Mutex] timeout. Not received [user_regularh7k3io0202@test-domain.com:message:received:content_smn0vq0207] 2021-01-27 05:58:25 | [Mutex] received everything. 2021-01-27 05:58:25 | [Mutex] isItemNotified: user_regularh7k3io0202@test-domain.com:message:received:content_smn0vq0207 :: false 2021-01-27 05:58:25 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_smn0vq0207 :: true |