Test duration : 44.939s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.668s |
2020-09-18 01:38:46 |
2020-09-18 01:38:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-09-18 01:38:46 | ------------------------------------ 2020-09-18 01:38:46 | [Mutex] isItemNotified: node_1ls0ly0203:exists :: false 2020-09-18 01:38:46 | [Mutex] waiting for: [node_1ls0ly0203:create_node] 2020-09-18 01:38:46 | [Mutex] waiting for: [node_1ls0ly0203:create_node] 2020-09-18 01:38:46 | [Mutex] received everything. 2020-09-18 01:38:46 | [Mutex] isItemNotified: node_1ls0ly0203:create_node:success :: true 2020-09-18 01:38:46 | [Mutex] waiting for: [node_1ls0ly0203:subscribe_node] 2020-09-18 01:38:46 | [Mutex] waiting for: [node_1ls0ly0203:subscribe_node] 2020-09-18 01:38:46 | [Mutex] received everything. 2020-09-18 01:38:46 | [Mutex] isItemNotified: node_1ls0ly0203:subscribe_node:success :: true 2020-09-18 01:38:46 | ===== publishing normal message (to online) 2020-09-18 01:38:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 01:38:46 | command: <data><node>node_1ls0ly0203</node><entry><content>content_4ec33d0204</content></entry></data> 2020-09-18 01:38:46 | target: http://localhost:8088 2020-09-18 01:38:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-18 01:38:46 | entity: <data><node>node_1ls0ly0203</node><entry><content>content_4ec33d0204</content></entry></data> 2020-09-18 01:38:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 08:38:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 01:38:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f4894155-f9bb-4f03-bb59-7486c3fc85be</value></item-id></result> 2020-09-18 01:38:46 | contains: true 2020-09-18 01:38:46 | [Mutex] received everything. 2020-09-18 01:38:46 | [Mutex] isItemNotified: user_regular9f4cuk0202@test-domain.com:message:received:content_4ec33d0204 :: true 2020-09-18 01:38:46 | ===== publishing already old message - expecting message being filtered out (to online) 2020-09-18 01:38:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 01:38:46 | command: <data><node>node_1ls0ly0203</node><expire-at>2020-09-18T08:38:41Z</expire-at><entry><content>content_aujqf20205</content></entry></data> 2020-09-18 01:38:46 | target: http://localhost:8088 2020-09-18 01:38:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-18 01:38:46 | entity: <data><node>node_1ls0ly0203</node><expire-at>2020-09-18T08:38:41Z</expire-at><entry><content>content_aujqf20205</content></entry></data> 2020-09-18 01:38:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 08:38:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 01:38:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b1586e68-f742-4bb3-9e91-ba7585132892</value></item-id></result> 2020-09-18 01:38:46 | contains: true 2020-09-18 01:38:46 | [Mutex] waiting for: [user_regular9f4cuk0202@test-domain.com:message:received:content_aujqf20205] 2020-09-18 01:39:01 | [Mutex] timeout. Not received [user_regular9f4cuk0202@test-domain.com:message:received:content_aujqf20205] 2020-09-18 01:39:01 | [Mutex] isItemNotified: user_regular9f4cuk0202@test-domain.com:message:received:content_aujqf20205 :: false 2020-09-18 01:39:01 | ===== publishing normal message (to offline) 2020-09-18 01:39:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 01:39:01 | command: <data><node>node_1ls0ly0203</node><entry><content>content_vlcgh20206</content></entry></data> 2020-09-18 01:39:01 | target: http://localhost:8088 2020-09-18 01:39:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-09-18 01:39:01 | entity: <data><node>node_1ls0ly0203</node><entry><content>content_vlcgh20206</content></entry></data> 2020-09-18 01:39:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 08:39:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 01:39:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4c852073-b745-4242-a8a5-6fae00a9bd5d</value></item-id></result> 2020-09-18 01:39:01 | contains: true 2020-09-18 01:39:07 | [Mutex] waiting for: [user_regular9f4cuk0202@test-domain.com:message:received:content_vlcgh20206] 2020-09-18 01:39:07 | [Mutex] waiting for: [user_regular9f4cuk0202@test-domain.com:message:received:content_vlcgh20206] 2020-09-18 01:39:07 | [Mutex] received everything. 2020-09-18 01:39:07 | [Mutex] isItemNotified: user_regular9f4cuk0202@test-domain.com:message:received:content_vlcgh20206 :: true 2020-09-18 01:39:07 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-09-18 01:39:07 | [Mutex] received everything. 2020-09-18 01:39:07 | [Mutex] isItemNotified: node_1ls0ly0203:subscribe_node:success :: true 2020-09-18 01:39:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-09-18 01:39:07 | command: <data><node>node_1ls0ly0203</node><expire-at>2020-09-18T08:39:12Z</expire-at><entry><content>content_5trh0x0207</content></entry></data> 2020-09-18 01:39:07 | target: http://localhost:8088 2020-09-18 01:39:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-09-18 01:39:07 | entity: <data><node>node_1ls0ly0203</node><expire-at>2020-09-18T08:39:12Z</expire-at><entry><content>content_5trh0x0207</content></entry></data> 2020-09-18 01:39:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 18 Sep 2020 08:39:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-09-18 01:39:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e57fcbb9-3b07-495c-85de-2981f098aecb</value></item-id></result> 2020-09-18 01:39:07 | contains: true 2020-09-18 01:39:15 | [Mutex] waiting for: [user_regular9f4cuk0202@test-domain.com:message:received:content_5trh0x0207] 2020-09-18 01:39:30 | [Mutex] timeout. Not received [user_regular9f4cuk0202@test-domain.com:message:received:content_5trh0x0207] 2020-09-18 01:39:30 | [Mutex] received everything. 2020-09-18 01:39:30 | [Mutex] isItemNotified: user_regular9f4cuk0202@test-domain.com:message:received:content_5trh0x0207 :: false 2020-09-18 01:39:30 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5trh0x0207 :: true |