Test duration : 45.026s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.717s |
2020-10-02 22:37:04 |
2020-10-02 22:37:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2020-10-02 22:37:04 | ------------------------------------ 2020-10-02 22:37:04 | [Mutex] isItemNotified: node_4wo7tf0203:exists :: false 2020-10-02 22:37:04 | [Mutex] waiting for: [node_4wo7tf0203:create_node] 2020-10-02 22:37:04 | [Mutex] received everything. 2020-10-02 22:37:04 | [Mutex] isItemNotified: node_4wo7tf0203:create_node:success :: true 2020-10-02 22:37:04 | [Mutex] waiting for: [node_4wo7tf0203:subscribe_node] 2020-10-02 22:37:04 | [Mutex] waiting for: [node_4wo7tf0203:subscribe_node] 2020-10-02 22:37:04 | [Mutex] received everything. 2020-10-02 22:37:04 | [Mutex] isItemNotified: node_4wo7tf0203:subscribe_node:success :: true 2020-10-02 22:37:04 | ===== publishing normal message (to online) 2020-10-02 22:37:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-02 22:37:04 | command: <data><node>node_4wo7tf0203</node><entry><content>content_mif5qj0204</content></entry></data> 2020-10-02 22:37:04 | target: http://localhost:8088 2020-10-02 22:37:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-02 22:37:04 | entity: <data><node>node_4wo7tf0203</node><entry><content>content_mif5qj0204</content></entry></data> 2020-10-02 22:37:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 03 Oct 2020 05:37:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-02 22:37:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>281cc33b-44ff-4422-bbd1-4c3634cc868b</value></item-id></result> 2020-10-02 22:37:04 | contains: true 2020-10-02 22:37:04 | [Mutex] received everything. 2020-10-02 22:37:04 | [Mutex] isItemNotified: user_regularrrsrfv0202@test-domain.com:message:received:content_mif5qj0204 :: true 2020-10-02 22:37:04 | ===== publishing already old message - expecting message being filtered out (to online) 2020-10-02 22:37:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-02 22:37:04 | command: <data><node>node_4wo7tf0203</node><expire-at>2020-10-03T05:36:59Z</expire-at><entry><content>content_jrbzv30205</content></entry></data> 2020-10-02 22:37:04 | target: http://localhost:8088 2020-10-02 22:37:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-02 22:37:04 | entity: <data><node>node_4wo7tf0203</node><expire-at>2020-10-03T05:36:59Z</expire-at><entry><content>content_jrbzv30205</content></entry></data> 2020-10-02 22:37:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 03 Oct 2020 05:37:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-02 22:37:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f6998a31-f8e0-4219-b050-80668847ae91</value></item-id></result> 2020-10-02 22:37:04 | contains: true 2020-10-02 22:37:04 | [Mutex] waiting for: [user_regularrrsrfv0202@test-domain.com:message:received:content_jrbzv30205] 2020-10-02 22:37:19 | [Mutex] timeout. Not received [user_regularrrsrfv0202@test-domain.com:message:received:content_jrbzv30205] 2020-10-02 22:37:19 | [Mutex] isItemNotified: user_regularrrsrfv0202@test-domain.com:message:received:content_jrbzv30205 :: false 2020-10-02 22:37:19 | ===== publishing normal message (to offline) 2020-10-02 22:37:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-02 22:37:19 | command: <data><node>node_4wo7tf0203</node><entry><content>content_acqm290206</content></entry></data> 2020-10-02 22:37:19 | target: http://localhost:8088 2020-10-02 22:37:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2020-10-02 22:37:19 | entity: <data><node>node_4wo7tf0203</node><entry><content>content_acqm290206</content></entry></data> 2020-10-02 22:37:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 03 Oct 2020 05:37:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-02 22:37:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>82f0f5ed-7eb9-41da-98d2-d0a0889480b1</value></item-id></result> 2020-10-02 22:37:19 | contains: true 2020-10-02 22:37:24 | [Mutex] waiting for: [user_regularrrsrfv0202@test-domain.com:message:received:content_acqm290206] 2020-10-02 22:37:24 | [Mutex] received everything. 2020-10-02 22:37:24 | [Mutex] isItemNotified: user_regularrrsrfv0202@test-domain.com:message:received:content_acqm290206 :: true 2020-10-02 22:37:24 | ===== publishing already old message - expecting message being filtered out (to offline) 2020-10-02 22:37:24 | [Mutex] received everything. 2020-10-02 22:37:24 | [Mutex] isItemNotified: node_4wo7tf0203:subscribe_node:success :: true 2020-10-02 22:37:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2020-10-02 22:37:24 | command: <data><node>node_4wo7tf0203</node><expire-at>2020-10-03T05:37:29Z</expire-at><entry><content>content_5pncjl0207</content></entry></data> 2020-10-02 22:37:24 | target: http://localhost:8088 2020-10-02 22:37:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2020-10-02 22:37:24 | entity: <data><node>node_4wo7tf0203</node><expire-at>2020-10-03T05:37:29Z</expire-at><entry><content>content_5pncjl0207</content></entry></data> 2020-10-02 22:37:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 03 Oct 2020 05:37:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2020-10-02 22:37:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cc048786-ff3c-4976-84c5-9e6e55bfd182</value></item-id></result> 2020-10-02 22:37:24 | contains: true 2020-10-02 22:37:33 | [Mutex] waiting for: [user_regularrrsrfv0202@test-domain.com:message:received:content_5pncjl0207] 2020-10-02 22:37:48 | [Mutex] timeout. Not received [user_regularrrsrfv0202@test-domain.com:message:received:content_5pncjl0207] 2020-10-02 22:37:48 | [Mutex] received everything. 2020-10-02 22:37:48 | [Mutex] isItemNotified: user_regularrrsrfv0202@test-domain.com:message:received:content_5pncjl0207 :: false 2020-10-02 22:37:48 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5pncjl0207 :: true |