Test duration : 44.411s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.596s |
2022-06-10 22:50:56 |
2022-06-10 22:50:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-06-10 22:50:56 | ------------------------------------ 2022-06-10 22:50:56 | [Mutex] isItemNotified: node_spkl780204:exists :: false 2022-06-10 22:50:56 | [Mutex] waiting for: [node_spkl780204:create_node] 2022-06-10 22:50:56 | [Mutex] received everything. 2022-06-10 22:50:56 | [Mutex] isItemNotified: node_spkl780204:create_node:success :: true 2022-06-10 22:50:56 | [Mutex] waiting for: [node_spkl780204:subscribe_node] 2022-06-10 22:50:56 | [Mutex] received everything. 2022-06-10 22:50:56 | [Mutex] isItemNotified: node_spkl780204:subscribe_node:success :: true 2022-06-10 22:50:56 | ===== publishing normal message (to online) 2022-06-10 22:50:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-10 22:50:56 | command: <data><node>node_spkl780204</node><entry><content>content_3vokb30205</content></entry></data> 2022-06-10 22:50:56 | target: http://localhost:8088 2022-06-10 22:50:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-10 22:50:56 | entity: <data><node>node_spkl780204</node><entry><content>content_3vokb30205</content></entry></data> 2022-06-10 22:50:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 11 Jun 2022 05:50:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-10 22:50:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c91866eb-18ee-4eb4-b84c-a35695343d5b</value></item-id></result> 2022-06-10 22:50:56 | contains: true 2022-06-10 22:50:56 | [Mutex] waiting for: [user_regularkhdk7x0203@test-domain.com:message:received:content_3vokb30205] 2022-06-10 22:50:56 | [Mutex] received everything. 2022-06-10 22:50:56 | [Mutex] isItemNotified: user_regularkhdk7x0203@test-domain.com:message:received:content_3vokb30205 :: true 2022-06-10 22:50:56 | ===== publishing already old message - expecting message being filtered out (to online) 2022-06-10 22:50:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-10 22:50:56 | command: <data><node>node_spkl780204</node><expire-at>2022-06-11T05:50:51Z</expire-at><entry><content>content_p1ahem0206</content></entry></data> 2022-06-10 22:50:56 | target: http://localhost:8088 2022-06-10 22:50:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-10 22:50:56 | entity: <data><node>node_spkl780204</node><expire-at>2022-06-11T05:50:51Z</expire-at><entry><content>content_p1ahem0206</content></entry></data> 2022-06-10 22:50:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 11 Jun 2022 05:50:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-10 22:50:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9807ae9f-68fe-4abb-9a04-8c8d5cc03f37</value></item-id></result> 2022-06-10 22:50:56 | contains: true 2022-06-10 22:50:56 | [Mutex] waiting for: [user_regularkhdk7x0203@test-domain.com:message:received:content_p1ahem0206] 2022-06-10 22:51:11 | [Mutex] timeout. Not received [user_regularkhdk7x0203@test-domain.com:message:received:content_p1ahem0206] 2022-06-10 22:51:11 | [Mutex] isItemNotified: user_regularkhdk7x0203@test-domain.com:message:received:content_p1ahem0206 :: false 2022-06-10 22:51:11 | ===== publishing normal message (to offline) 2022-06-10 22:51:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-10 22:51:11 | command: <data><node>node_spkl780204</node><entry><content>content_ajxk930207</content></entry></data> 2022-06-10 22:51:11 | target: http://localhost:8088 2022-06-10 22:51:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-06-10 22:51:11 | entity: <data><node>node_spkl780204</node><entry><content>content_ajxk930207</content></entry></data> 2022-06-10 22:51:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 11 Jun 2022 05:51:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-10 22:51:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>d4dfa423-fded-4c8f-9c93-70d2af9fa011</value></item-id></result> 2022-06-10 22:51:11 | contains: true 2022-06-10 22:51:16 | [Mutex] waiting for: [user_regularkhdk7x0203@test-domain.com:message:received:content_ajxk930207] 2022-06-10 22:51:16 | [Mutex] received everything. 2022-06-10 22:51:16 | [Mutex] isItemNotified: user_regularkhdk7x0203@test-domain.com:message:received:content_ajxk930207 :: true 2022-06-10 22:51:16 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-06-10 22:51:16 | [Mutex] received everything. 2022-06-10 22:51:16 | [Mutex] isItemNotified: node_spkl780204:subscribe_node:success :: true 2022-06-10 22:51:16 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-06-10 22:51:16 | command: <data><node>node_spkl780204</node><expire-at>2022-06-11T05:51:21Z</expire-at><entry><content>content_9es1xh0208</content></entry></data> 2022-06-10 22:51:16 | target: http://localhost:8088 2022-06-10 22:51:16 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-06-10 22:51:16 | entity: <data><node>node_spkl780204</node><expire-at>2022-06-11T05:51:21Z</expire-at><entry><content>content_9es1xh0208</content></entry></data> 2022-06-10 22:51:16 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 11 Jun 2022 05:51:16 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-06-10 22:51:16 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>690a7844-01c5-4c1c-90f1-c61bdfd98deb</value></item-id></result> 2022-06-10 22:51:16 | contains: true 2022-06-10 22:51:24 | [Mutex] waiting for: [user_regularkhdk7x0203@test-domain.com:message:received:content_9es1xh0208] 2022-06-10 22:51:39 | [Mutex] timeout. Not received [user_regularkhdk7x0203@test-domain.com:message:received:content_9es1xh0208] 2022-06-10 22:51:39 | [Mutex] received everything. 2022-06-10 22:51:39 | [Mutex] isItemNotified: user_regularkhdk7x0203@test-domain.com:message:received:content_9es1xh0208 :: false 2022-06-10 22:51:39 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_9es1xh0208 :: true |