Test duration: 45.279s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.695s |
2020-05-27 11:04:43 |
2020-05-27 11:04:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-05-27 11:04:43 | ------------------------------------ 2020-05-27 11:04:43 | [Mutex] isItemNotified: node_sfnf690206:exists :: false 2020-05-27 11:04:43 | [Mutex] waiting for: [node_sfnf690206:create_node] 2020-05-27 11:04:43 | [Mutex] received everything. 2020-05-27 11:04:43 | [Mutex] isItemNotified: node_sfnf690206:create_node:success :: true 2020-05-27 11:04:43 | [Mutex] waiting for: [node_sfnf690206:subscribe_node] 2020-05-27 11:04:43 | [Mutex] received everything. 2020-05-27 11:04:43 | [Mutex] isItemNotified: node_sfnf690206:subscribe_node:success :: true 2020-05-27 11:04:43 | ===== publishing normal message (to online) 2020-05-27 11:04:43 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-05-27 11:04:43 | command: <data><node>node_sfnf690206</node><entry><content>content_8s5qnd0207</content></entry></data> 2020-05-27 11:04:43 | target: http://localhost:8088 2020-05-27 11:04:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-05-27 11:04:43 | entity: <data><node>node_sfnf690206</node><entry><content>content_8s5qnd0207</content></entry></data> 2020-05-27 11:04:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 May 2020 18:04:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-05-27 11:04:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>df9acd09-5c63-42ac-be1c-c37187e3a546</value></item-id></result> 2020-05-27 11:04:43 | contains: true 2020-05-27 11:04:43 | [Mutex] received everything. 2020-05-27 11:04:43 | [Mutex] isItemNotified: user_regular6xw4760205@localhost:message:received:content_8s5qnd0207 :: true 2020-05-27 11:04:43 | ===== publishing already old message - expecting message being filtered out (to online) 2020-05-27 11:04:43 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-05-27 11:04:43 | command: <data><node>node_sfnf690206</node><expire-at>2020-05-27T18:04:38Z</expire-at><entry><content>content_tkadbd0208</content></entry></data> 2020-05-27 11:04:43 | target: http://localhost:8088 2020-05-27 11:04:43 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-05-27 11:04:43 | entity: <data><node>node_sfnf690206</node><expire-at>2020-05-27T18:04:38Z</expire-at><entry><content>content_tkadbd0208</content></entry></data> 2020-05-27 11:04:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 May 2020 18:04:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-05-27 11:04:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1dfb7a27-d952-404f-9f2b-5c2630f2369d</value></item-id></result> 2020-05-27 11:04:43 | contains: true 2020-05-27 11:04:43 | [Mutex] waiting for: [user_regular6xw4760205@localhost:message:received:content_tkadbd0208] 2020-05-27 11:04:58 | [Mutex] timeout. Not received [user_regular6xw4760205@localhost:message:received:content_tkadbd0208] 2020-05-27 11:04:58 | [Mutex] isItemNotified: user_regular6xw4760205@localhost:message:received:content_tkadbd0208 :: false 2020-05-27 11:04:58 | ===== publishing normal message (to offline) 2020-05-27 11:04:58 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-05-27 11:04:58 | command: <data><node>node_sfnf690206</node><entry><content>content_774t1e0209</content></entry></data> 2020-05-27 11:04:58 | target: http://localhost:8088 2020-05-27 11:04:58 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-05-27 11:04:58 | entity: <data><node>node_sfnf690206</node><entry><content>content_774t1e0209</content></entry></data> 2020-05-27 11:04:58 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 May 2020 18:04:58 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-05-27 11:04:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>b40449f4-6d04-440f-a589-a5ec3de7f5cf</value></item-id></result> 2020-05-27 11:04:58 | contains: true 2020-05-27 11:05:03 | [Mutex] waiting for: [user_regular6xw4760205@localhost:message:received:content_774t1e0209] 2020-05-27 11:05:03 | [Mutex] waiting for: [user_regular6xw4760205@localhost:message:received:content_774t1e0209] 2020-05-27 11:05:03 | [Mutex] received everything. 2020-05-27 11:05:03 | [Mutex] isItemNotified: user_regular6xw4760205@localhost:message:received:content_774t1e0209 :: true 2020-05-27 11:05:03 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-05-27 11:05:03 | [Mutex] received everything. 2020-05-27 11:05:03 | [Mutex] isItemNotified: node_sfnf690206:subscribe_node:success :: true 2020-05-27 11:05:04 | postRequest: POST /rest/pubsub/pubsub.localhost/publish-item HTTP/1.1 2020-05-27 11:05:04 | command: <data><node>node_sfnf690206</node><expire-at>2020-05-27T18:05:09Z</expire-at><entry><content>content_eim2860210</content></entry></data> 2020-05-27 11:05:04 | target: http://localhost:8088 2020-05-27 11:05:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-05-27 11:05:04 | entity: <data><node>node_sfnf690206</node><expire-at>2020-05-27T18:05:09Z</expire-at><entry><content>content_eim2860210</content></entry></data> 2020-05-27 11:05:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 27 May 2020 18:05:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-05-27 11:05:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5d91726d-3515-4057-ba45-e5b5b031b5d5</value></item-id></result> 2020-05-27 11:05:04 | contains: true 2020-05-27 11:05:12 | [Mutex] waiting for: [user_regular6xw4760205@localhost:message:received:content_eim2860210] 2020-05-27 11:05:12 | [Mutex] waiting for: [user_regular6xw4760205@localhost:message:received:content_eim2860210] 2020-05-27 11:05:27 | [Mutex] timeout. Not received [user_regular6xw4760205@localhost:message:received:content_eim2860210] 2020-05-27 11:05:27 | [Mutex] received everything. 2020-05-27 11:05:27 | [Mutex] isItemNotified: user_regular6xw4760205@localhost:message:received:content_eim2860210 :: false 2020-05-27 11:05:27 | [Mutex] isItemNotified: admin@localhost:message:received:content_eim2860210 :: true |