Test duration : 44.541s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.606s |
2022-05-17 22:40:21 |
2022-05-17 22:40:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-05-17 22:40:21 | ------------------------------------ 2022-05-17 22:40:21 | [Mutex] isItemNotified: node_b8ja610204:exists :: false 2022-05-17 22:40:21 | [Mutex] waiting for: [node_b8ja610204:create_node] 2022-05-17 22:40:21 | [Mutex] waiting for: [node_b8ja610204:create_node] 2022-05-17 22:40:21 | [Mutex] received everything. 2022-05-17 22:40:21 | [Mutex] isItemNotified: node_b8ja610204:create_node:success :: true 2022-05-17 22:40:21 | [Mutex] waiting for: [node_b8ja610204:subscribe_node] 2022-05-17 22:40:21 | [Mutex] received everything. 2022-05-17 22:40:21 | [Mutex] isItemNotified: node_b8ja610204:subscribe_node:success :: true 2022-05-17 22:40:21 | ===== publishing normal message (to online) 2022-05-17 22:40:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-17 22:40:21 | command: <data><node>node_b8ja610204</node><entry><content>content_osb4om0205</content></entry></data> 2022-05-17 22:40:21 | target: http://localhost:8088 2022-05-17 22:40:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-17 22:40:21 | entity: <data><node>node_b8ja610204</node><entry><content>content_osb4om0205</content></entry></data> 2022-05-17 22:40:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 18 May 2022 05:40:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-17 22:40:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ad5c8b7a-ee31-4957-9237-7d57d37f1b5e</value></item-id></result> 2022-05-17 22:40:21 | contains: true 2022-05-17 22:40:21 | [Mutex] received everything. 2022-05-17 22:40:21 | [Mutex] isItemNotified: user_regular21lfgc0203@test-domain.com:message:received:content_osb4om0205 :: true 2022-05-17 22:40:21 | ===== publishing already old message - expecting message being filtered out (to online) 2022-05-17 22:40:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-17 22:40:21 | command: <data><node>node_b8ja610204</node><expire-at>2022-05-18T05:40:16Z</expire-at><entry><content>content_zadnp60206</content></entry></data> 2022-05-17 22:40:21 | target: http://localhost:8088 2022-05-17 22:40:21 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-17 22:40:21 | entity: <data><node>node_b8ja610204</node><expire-at>2022-05-18T05:40:16Z</expire-at><entry><content>content_zadnp60206</content></entry></data> 2022-05-17 22:40:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 18 May 2022 05:40:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-17 22:40:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ab9d881a-9325-4866-8d90-acbf21cc335c</value></item-id></result> 2022-05-17 22:40:21 | contains: true 2022-05-17 22:40:21 | [Mutex] waiting for: [user_regular21lfgc0203@test-domain.com:message:received:content_zadnp60206] 2022-05-17 22:40:36 | [Mutex] timeout. Not received [user_regular21lfgc0203@test-domain.com:message:received:content_zadnp60206] 2022-05-17 22:40:36 | [Mutex] isItemNotified: user_regular21lfgc0203@test-domain.com:message:received:content_zadnp60206 :: false 2022-05-17 22:40:36 | ===== publishing normal message (to offline) 2022-05-17 22:40:36 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-17 22:40:36 | command: <data><node>node_b8ja610204</node><entry><content>content_9qlnd40207</content></entry></data> 2022-05-17 22:40:36 | target: http://localhost:8088 2022-05-17 22:40:36 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-05-17 22:40:36 | entity: <data><node>node_b8ja610204</node><entry><content>content_9qlnd40207</content></entry></data> 2022-05-17 22:40:36 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 18 May 2022 05:40:36 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-17 22:40:36 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>66a41993-8975-4516-bef2-94df86059d84</value></item-id></result> 2022-05-17 22:40:36 | contains: true 2022-05-17 22:40:41 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-17 22:40:41 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-05-17 22:40:41 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-17 22:40:42 | [Mutex] waiting for: [user_regular21lfgc0203@test-domain.com:message:received:content_9qlnd40207] 2022-05-17 22:40:42 | [Mutex] received everything. 2022-05-17 22:40:42 | [Mutex] isItemNotified: user_regular21lfgc0203@test-domain.com:message:received:content_9qlnd40207 :: true 2022-05-17 22:40:42 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-05-17 22:40:42 | [Mutex] received everything. 2022-05-17 22:40:42 | [Mutex] isItemNotified: node_b8ja610204:subscribe_node:success :: true 2022-05-17 22:40:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-05-17 22:40:42 | command: <data><node>node_b8ja610204</node><expire-at>2022-05-18T05:40:47Z</expire-at><entry><content>content_jknsd00208</content></entry></data> 2022-05-17 22:40:42 | target: http://localhost:8088 2022-05-17 22:40:42 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-05-17 22:40:42 | entity: <data><node>node_b8ja610204</node><expire-at>2022-05-18T05:40:47Z</expire-at><entry><content>content_jknsd00208</content></entry></data> 2022-05-17 22:40:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 18 May 2022 05:40:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-05-17 22:40:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ab953cc4-9d87-4330-b6b8-11794811b326</value></item-id></result> 2022-05-17 22:40:42 | contains: true 2022-05-17 22:40:50 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-05-17 22:40:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-05-17 22:40:50 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-05-17 22:40:50 | [Mutex] waiting for: [user_regular21lfgc0203@test-domain.com:message:received:content_jknsd00208] 2022-05-17 22:41:05 | [Mutex] timeout. Not received [user_regular21lfgc0203@test-domain.com:message:received:content_jknsd00208] 2022-05-17 22:41:05 | [Mutex] received everything. 2022-05-17 22:41:05 | [Mutex] isItemNotified: user_regular21lfgc0203@test-domain.com:message:received:content_jknsd00208 :: false 2022-05-17 22:41:05 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jknsd00208 :: true |