Test duration : 44.752s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.590s |
2022-12-18 22:00:53 |
2022-12-18 22:00:53 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-12-18 22:00:53 | ------------------------------------ 2022-12-18 22:00:53 | [Mutex] isItemNotified: node_ruv4p50204:exists :: false 2022-12-18 22:00:53 | [Mutex] waiting for: [node_ruv4p50204:create_node] 2022-12-18 22:00:53 | [Mutex] waiting for: [node_ruv4p50204:create_node] 2022-12-18 22:00:53 | [Mutex] received everything. 2022-12-18 22:00:53 | [Mutex] isItemNotified: node_ruv4p50204:create_node:success :: true 2022-12-18 22:00:53 | [Mutex] waiting for: [node_ruv4p50204:subscribe_node] 2022-12-18 22:00:53 | [Mutex] waiting for: [node_ruv4p50204:subscribe_node] 2022-12-18 22:00:53 | [Mutex] received everything. 2022-12-18 22:00:53 | [Mutex] isItemNotified: node_ruv4p50204:subscribe_node:success :: true 2022-12-18 22:00:53 | ===== publishing normal message (to online) 2022-12-18 22:00:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-18 22:00:53 | command: <data><node>node_ruv4p50204</node><entry><content>content_k3ru150205</content></entry></data> 2022-12-18 22:00:53 | target: http://localhost:8088 2022-12-18 22:00:53 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-18 22:00:53 | entity: <data><node>node_ruv4p50204</node><entry><content>content_k3ru150205</content></entry></data> 2022-12-18 22:00:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Dec 2022 06:00:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-18 22:00:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>211ae623-eb80-4af5-9923-0fbca03f9169</value></item-id></result> 2022-12-18 22:00:53 | contains: true 2022-12-18 22:00:53 | [Mutex] received everything. 2022-12-18 22:00:53 | [Mutex] isItemNotified: user_regular14ufeu0203@test-domain.com:message:received:content_k3ru150205 :: true 2022-12-18 22:00:53 | ===== publishing already old message - expecting message being filtered out (to online) 2022-12-18 22:00:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-18 22:00:53 | command: <data><node>node_ruv4p50204</node><expire-at>2022-12-19T06:00:48Z</expire-at><entry><content>content_5ftri00206</content></entry></data> 2022-12-18 22:00:53 | target: http://localhost:8088 2022-12-18 22:00:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-18 22:00:53 | entity: <data><node>node_ruv4p50204</node><expire-at>2022-12-19T06:00:48Z</expire-at><entry><content>content_5ftri00206</content></entry></data> 2022-12-18 22:00:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Dec 2022 06:00:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-18 22:00:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bafd0436-ac6e-49a3-9dc1-2170be24aaf8</value></item-id></result> 2022-12-18 22:00:53 | contains: true 2022-12-18 22:00:53 | [Mutex] waiting for: [user_regular14ufeu0203@test-domain.com:message:received:content_5ftri00206] 2022-12-18 22:01:08 | [Mutex] timeout. Not received [user_regular14ufeu0203@test-domain.com:message:received:content_5ftri00206] 2022-12-18 22:01:08 | [Mutex] isItemNotified: user_regular14ufeu0203@test-domain.com:message:received:content_5ftri00206 :: false 2022-12-18 22:01:08 | ===== publishing normal message (to offline) 2022-12-18 22:01:08 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-18 22:01:08 | command: <data><node>node_ruv4p50204</node><entry><content>content_806gb90207</content></entry></data> 2022-12-18 22:01:08 | target: http://localhost:8088 2022-12-18 22:01:08 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-18 22:01:08 | entity: <data><node>node_ruv4p50204</node><entry><content>content_806gb90207</content></entry></data> 2022-12-18 22:01:08 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Dec 2022 06:01:08 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-18 22:01:08 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7aa2bf8f-da88-41f3-a803-e2c12be2bd7a</value></item-id></result> 2022-12-18 22:01:08 | contains: true 2022-12-18 22:01:13 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-18 22:01:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-12-18 22:01:13 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-18 22:01:14 | [Mutex] waiting for: [user_regular14ufeu0203@test-domain.com:message:received:content_806gb90207] 2022-12-18 22:01:14 | [Mutex] waiting for: [user_regular14ufeu0203@test-domain.com:message:received:content_806gb90207] 2022-12-18 22:01:14 | [Mutex] received everything. 2022-12-18 22:01:14 | [Mutex] isItemNotified: user_regular14ufeu0203@test-domain.com:message:received:content_806gb90207 :: true 2022-12-18 22:01:14 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-12-18 22:01:14 | [Mutex] received everything. 2022-12-18 22:01:14 | [Mutex] isItemNotified: node_ruv4p50204:subscribe_node:success :: true 2022-12-18 22:01:14 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-18 22:01:14 | command: <data><node>node_ruv4p50204</node><expire-at>2022-12-19T06:01:19Z</expire-at><entry><content>content_2if05d0208</content></entry></data> 2022-12-18 22:01:14 | target: http://localhost:8088 2022-12-18 22:01:14 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-18 22:01:14 | entity: <data><node>node_ruv4p50204</node><expire-at>2022-12-19T06:01:19Z</expire-at><entry><content>content_2if05d0208</content></entry></data> 2022-12-18 22:01:14 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Dec 2022 06:01:14 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-18 22:01:14 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d0e08d70-fcb4-4ee7-8582-46a3df33c092</value></item-id></result> 2022-12-18 22:01:14 | contains: true 2022-12-18 22:01:22 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-18 22:01:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-12-18 22:01:22 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-18 22:01:22 | [Mutex] waiting for: [user_regular14ufeu0203@test-domain.com:message:received:content_2if05d0208] 2022-12-18 22:01:37 | [Mutex] timeout. Not received [user_regular14ufeu0203@test-domain.com:message:received:content_2if05d0208] 2022-12-18 22:01:37 | [Mutex] received everything. 2022-12-18 22:01:37 | [Mutex] isItemNotified: user_regular14ufeu0203@test-domain.com:message:received:content_2if05d0208 :: false 2022-12-18 22:01:37 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2if05d0208 :: true |