Test duration: 45.519s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.704s |
2020-06-19 00:32:23 |
2020-06-19 00:32:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-06-19 00:32:23 | ------------------------------------ 2020-06-19 00:32:23 | [Mutex] isItemNotified: node_gdq3b60206:exists :: false 2020-06-19 00:32:23 | [Mutex] waiting for: [node_gdq3b60206:create_node] 2020-06-19 00:32:23 | [Mutex] waiting for: [node_gdq3b60206:create_node] 2020-06-19 00:32:23 | [Mutex] received everything. 2020-06-19 00:32:23 | [Mutex] isItemNotified: node_gdq3b60206:create_node:success :: true 2020-06-19 00:32:23 | [Mutex] waiting for: [node_gdq3b60206:subscribe_node] 2020-06-19 00:32:23 | [Mutex] received everything. 2020-06-19 00:32:23 | [Mutex] isItemNotified: node_gdq3b60206:subscribe_node:success :: true 2020-06-19 00:32:23 | ===== publishing normal message (to online) 2020-06-19 00:32:23 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-19 00:32:23 | command: <data><node>node_gdq3b60206</node><entry><content>content_n24o7j0207</content></entry></data> 2020-06-19 00:32:23 | target: http://localhost:8088 2020-06-19 00:32:23 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-06-19 00:32:23 | entity: <data><node>node_gdq3b60206</node><entry><content>content_n24o7j0207</content></entry></data> 2020-06-19 00:32:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Jun 2020 07:32:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-19 00:32:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2cc6bce5-5274-497e-99b7-1045008ea76e</value></item-id></result> 2020-06-19 00:32:24 | contains: true 2020-06-19 00:32:24 | [Mutex] received everything. 2020-06-19 00:32:24 | [Mutex] isItemNotified: user_regularrlwt2v0205@localhost:message:received:content_n24o7j0207 :: true 2020-06-19 00:32:24 | ===== publishing already old message - expecting message being filtered out (to online) 2020-06-19 00:32:24 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-19 00:32:24 | command: <data><node>node_gdq3b60206</node><expire-at>2020-06-19T07:32:19Z</expire-at><entry><content>content_l4yn6p0208</content></entry></data> 2020-06-19 00:32:24 | target: http://localhost:8088 2020-06-19 00:32:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-06-19 00:32:24 | entity: <data><node>node_gdq3b60206</node><expire-at>2020-06-19T07:32:19Z</expire-at><entry><content>content_l4yn6p0208</content></entry></data> 2020-06-19 00:32:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Jun 2020 07:32:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-19 00:32:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4777aa58-75c9-4695-a27c-129005c25483</value></item-id></result> 2020-06-19 00:32:24 | contains: true 2020-06-19 00:32:24 | [Mutex] waiting for: [user_regularrlwt2v0205@localhost:message:received:content_l4yn6p0208] 2020-06-19 00:32:39 | [Mutex] timeout. Not received [user_regularrlwt2v0205@localhost:message:received:content_l4yn6p0208] 2020-06-19 00:32:39 | [Mutex] isItemNotified: user_regularrlwt2v0205@localhost:message:received:content_l4yn6p0208 :: false 2020-06-19 00:32:39 | ===== publishing normal message (to offline) 2020-06-19 00:32:39 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-19 00:32:39 | command: <data><node>node_gdq3b60206</node><entry><content>content_6qtqd10209</content></entry></data> 2020-06-19 00:32:39 | target: http://localhost:8088 2020-06-19 00:32:39 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-06-19 00:32:39 | entity: <data><node>node_gdq3b60206</node><entry><content>content_6qtqd10209</content></entry></data> 2020-06-19 00:32:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Jun 2020 07:32:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-19 00:32:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>dc9d39b2-637b-4042-af6f-614aacfad9fb</value></item-id></result> 2020-06-19 00:32:39 | contains: true 2020-06-19 00:32:44 | [Mutex] waiting for: [user_regularrlwt2v0205@localhost:message:received:content_6qtqd10209] 2020-06-19 00:32:44 | [Mutex] received everything. 2020-06-19 00:32:44 | [Mutex] isItemNotified: user_regularrlwt2v0205@localhost:message:received:content_6qtqd10209 :: true 2020-06-19 00:32:44 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-06-19 00:32:44 | [Mutex] received everything. 2020-06-19 00:32:44 | [Mutex] isItemNotified: node_gdq3b60206:subscribe_node:success :: true 2020-06-19 00:32:44 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-06-19 00:32:44 | command: <data><node>node_gdq3b60206</node><expire-at>2020-06-19T07:32:49Z</expire-at><entry><content>content_yiq6d10210</content></entry></data> 2020-06-19 00:32:44 | target: http://localhost:8088 2020-06-19 00:32:44 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-06-19 00:32:44 | entity: <data><node>node_gdq3b60206</node><expire-at>2020-06-19T07:32:49Z</expire-at><entry><content>content_yiq6d10210</content></entry></data> 2020-06-19 00:32:44 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 19 Jun 2020 07:32:44 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-06-19 00:32:44 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e3b1eb7b-d3af-45da-86ee-1195b9215fe7</value></item-id></result> 2020-06-19 00:32:44 | contains: true 2020-06-19 00:32:52 | [Mutex] waiting for: [user_regularrlwt2v0205@localhost:message:received:content_yiq6d10210] 2020-06-19 00:32:52 | [Mutex] waiting for: [user_regularrlwt2v0205@localhost:message:received:content_yiq6d10210] 2020-06-19 00:33:07 | [Mutex] timeout. Not received [user_regularrlwt2v0205@localhost:message:received:content_yiq6d10210] 2020-06-19 00:33:07 | [Mutex] received everything. 2020-06-19 00:33:07 | [Mutex] isItemNotified: user_regularrlwt2v0205@localhost:message:received:content_yiq6d10210 :: false 2020-06-19 00:33:07 | [Mutex] isItemNotified: admin@localhost:message:received:content_yiq6d10210 :: true |