Test duration: 45.589s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.840s |
2020-06-15 23:33:44 |
2020-06-15 23:33:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-06-15 23:33:44 | ------------------------------------ 2020-06-15 23:33:44 | [Mutex] isItemNotified: node_3apd6z0206:exists :: false 2020-06-15 23:33:44 | [Mutex] waiting for: [node_3apd6z0206:create_node] 2020-06-15 23:33:44 | [Mutex] received everything. 2020-06-15 23:33:44 | [Mutex] isItemNotified: node_3apd6z0206:create_node:success :: true 2020-06-15 23:33:44 | [Mutex] waiting for: [node_3apd6z0206:subscribe_node] 2020-06-15 23:33:44 | [Mutex] received everything. 2020-06-15 23:33:44 | [Mutex] isItemNotified: node_3apd6z0206:subscribe_node:success :: true 2020-06-15 23:33:44 | ===== publishing normal message (to online) 2020-06-15 23:33:44 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-15 23:33:44 | command: <data><node>node_3apd6z0206</node><entry><content>content_ij6rjv0207</content></entry></data> 2020-06-15 23:33:44 | target: http://localhost:8088 2020-06-15 23:33:44 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-06-15 23:33:44 | entity: <data><node>node_3apd6z0206</node><entry><content>content_ij6rjv0207</content></entry></data> 2020-06-15 23:33:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Jun 2020 06:33:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-15 23:33:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2b9c395b-237f-4950-a5fb-dab974e22e74</value></item-id></result> 2020-06-15 23:33:44 | contains: true 2020-06-15 23:33:44 | [Mutex] received everything. 2020-06-15 23:33:44 | [Mutex] isItemNotified: user_regular4axqr90205@localhost:message:received:content_ij6rjv0207 :: true 2020-06-15 23:33:44 | ===== publishing already old message - expecting message being filtered out (to online) 2020-06-15 23:33:44 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-15 23:33:44 | command: <data><node>node_3apd6z0206</node><expire-at>2020-06-16T06:33:39Z</expire-at><entry><content>content_teq1n00208</content></entry></data> 2020-06-15 23:33:44 | target: http://localhost:8088 2020-06-15 23:33:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-06-15 23:33:44 | entity: <data><node>node_3apd6z0206</node><expire-at>2020-06-16T06:33:39Z</expire-at><entry><content>content_teq1n00208</content></entry></data> 2020-06-15 23:33:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Jun 2020 06:33:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-15 23:33:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>cf9973d6-b3c3-46a7-8ce5-88623bff389f</value></item-id></result> 2020-06-15 23:33:44 | contains: true 2020-06-15 23:33:44 | [Mutex] waiting for: [user_regular4axqr90205@localhost:message:received:content_teq1n00208] 2020-06-15 23:33:59 | [Mutex] timeout. Not received [user_regular4axqr90205@localhost:message:received:content_teq1n00208] 2020-06-15 23:33:59 | [Mutex] isItemNotified: user_regular4axqr90205@localhost:message:received:content_teq1n00208 :: false 2020-06-15 23:33:59 | ===== publishing normal message (to offline) 2020-06-15 23:33:59 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-15 23:33:59 | command: <data><node>node_3apd6z0206</node><entry><content>content_yrm7wg0209</content></entry></data> 2020-06-15 23:33:59 | target: http://localhost:8088 2020-06-15 23:33:59 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-06-15 23:33:59 | entity: <data><node>node_3apd6z0206</node><entry><content>content_yrm7wg0209</content></entry></data> 2020-06-15 23:33:59 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Jun 2020 06:33:59 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-15 23:33:59 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>eaf3ae3f-b843-46b7-b1ba-f5795bcfaf0c</value></item-id></result> 2020-06-15 23:33:59 | contains: true 2020-06-15 23:34:04 | [Mutex] waiting for: [user_regular4axqr90205@localhost:message:received:content_yrm7wg0209] 2020-06-15 23:34:04 | [Mutex] received everything. 2020-06-15 23:34:04 | [Mutex] isItemNotified: user_regular4axqr90205@localhost:message:received:content_yrm7wg0209 :: true 2020-06-15 23:34:04 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-06-15 23:34:04 | [Mutex] received everything. 2020-06-15 23:34:04 | [Mutex] isItemNotified: node_3apd6z0206:subscribe_node:success :: true 2020-06-15 23:34:04 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-15 23:34:04 | command: <data><node>node_3apd6z0206</node><expire-at>2020-06-16T06:34:09Z</expire-at><entry><content>content_lqlnbw0210</content></entry></data> 2020-06-15 23:34:04 | target: http://localhost:8088 2020-06-15 23:34:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-06-15 23:34:04 | entity: <data><node>node_3apd6z0206</node><expire-at>2020-06-16T06:34:09Z</expire-at><entry><content>content_lqlnbw0210</content></entry></data> 2020-06-15 23:34:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 16 Jun 2020 06:34:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-15 23:34:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b1391d43-515f-4fec-ac9f-4cb0e765526f</value></item-id></result> 2020-06-15 23:34:04 | contains: true 2020-06-15 23:34:12 | [Mutex] waiting for: [user_regular4axqr90205@localhost:message:received:content_lqlnbw0210] 2020-06-15 23:34:12 | [Mutex] waiting for: [user_regular4axqr90205@localhost:message:received:content_lqlnbw0210] 2020-06-15 23:34:12 | [Mutex] waiting for: [user_regular4axqr90205@localhost:message:received:content_lqlnbw0210] 2020-06-15 23:34:27 | [Mutex] timeout. Not received [user_regular4axqr90205@localhost:message:received:content_lqlnbw0210] 2020-06-15 23:34:27 | [Mutex] received everything. 2020-06-15 23:34:27 | [Mutex] isItemNotified: user_regular4axqr90205@localhost:message:received:content_lqlnbw0210 :: false 2020-06-15 23:34:27 | [Mutex] isItemNotified: admin@localhost:message:received:content_lqlnbw0210 :: true |