Test duration : 44.726s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.670s |
2022-07-17 22:32:17 |
2022-07-17 22:32:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-07-17 22:32:17 | ------------------------------------ 2022-07-17 22:32:17 | [Mutex] isItemNotified: node_9rmtsq0204:exists :: false 2022-07-17 22:32:17 | [Mutex] waiting for: [node_9rmtsq0204:create_node] 2022-07-17 22:32:17 | [Mutex] received everything. 2022-07-17 22:32:17 | [Mutex] isItemNotified: node_9rmtsq0204:create_node:success :: true 2022-07-17 22:32:17 | [Mutex] waiting for: [node_9rmtsq0204:subscribe_node] 2022-07-17 22:32:17 | [Mutex] waiting for: [node_9rmtsq0204:subscribe_node] 2022-07-17 22:32:17 | [Mutex] received everything. 2022-07-17 22:32:17 | [Mutex] isItemNotified: node_9rmtsq0204:subscribe_node:success :: true 2022-07-17 22:32:17 | ===== publishing normal message (to online) 2022-07-17 22:32:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-17 22:32:17 | command: <data><node>node_9rmtsq0204</node><entry><content>content_31u08c0205</content></entry></data> 2022-07-17 22:32:17 | target: http://localhost:8088 2022-07-17 22:32:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-17 22:32:17 | entity: <data><node>node_9rmtsq0204</node><entry><content>content_31u08c0205</content></entry></data> 2022-07-17 22:32:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jul 2022 05:32:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-17 22:32:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>297a36b0-8abf-4c22-86ed-4203e5ae6aa8</value></item-id></result> 2022-07-17 22:32:17 | contains: true 2022-07-17 22:32:17 | [Mutex] received everything. 2022-07-17 22:32:17 | [Mutex] isItemNotified: user_regularxx6zfb0203@test-domain.com:message:received:content_31u08c0205 :: true 2022-07-17 22:32:17 | ===== publishing already old message - expecting message being filtered out (to online) 2022-07-17 22:32:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-17 22:32:17 | command: <data><node>node_9rmtsq0204</node><expire-at>2022-07-18T05:32:12Z</expire-at><entry><content>content_2smsnb0206</content></entry></data> 2022-07-17 22:32:17 | target: http://localhost:8088 2022-07-17 22:32:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-17 22:32:17 | entity: <data><node>node_9rmtsq0204</node><expire-at>2022-07-18T05:32:12Z</expire-at><entry><content>content_2smsnb0206</content></entry></data> 2022-07-17 22:32:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jul 2022 05:32:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-17 22:32:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>91eb0115-69bb-4863-bb66-bd46989fe696</value></item-id></result> 2022-07-17 22:32:17 | contains: true 2022-07-17 22:32:17 | [Mutex] waiting for: [user_regularxx6zfb0203@test-domain.com:message:received:content_2smsnb0206] 2022-07-17 22:32:32 | [Mutex] timeout. Not received [user_regularxx6zfb0203@test-domain.com:message:received:content_2smsnb0206] 2022-07-17 22:32:32 | [Mutex] isItemNotified: user_regularxx6zfb0203@test-domain.com:message:received:content_2smsnb0206 :: false 2022-07-17 22:32:32 | ===== publishing normal message (to offline) 2022-07-17 22:32:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-17 22:32:32 | command: <data><node>node_9rmtsq0204</node><entry><content>content_22lh4h0207</content></entry></data> 2022-07-17 22:32:32 | target: http://localhost:8088 2022-07-17 22:32:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-07-17 22:32:32 | entity: <data><node>node_9rmtsq0204</node><entry><content>content_22lh4h0207</content></entry></data> 2022-07-17 22:32:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jul 2022 05:32:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-17 22:32:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>57b7dceb-fc64-4ee3-a8db-18123b174085</value></item-id></result> 2022-07-17 22:32:32 | contains: true 2022-07-17 22:32:37 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-17 22:32:37 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-07-17 22:32:37 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-17 22:32:37 | [Mutex] waiting for: [user_regularxx6zfb0203@test-domain.com:message:received:content_22lh4h0207] 2022-07-17 22:32:37 | [Mutex] waiting for: [user_regularxx6zfb0203@test-domain.com:message:received:content_22lh4h0207] 2022-07-17 22:32:37 | [Mutex] received everything. 2022-07-17 22:32:37 | [Mutex] isItemNotified: user_regularxx6zfb0203@test-domain.com:message:received:content_22lh4h0207 :: true 2022-07-17 22:32:37 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-07-17 22:32:37 | [Mutex] received everything. 2022-07-17 22:32:37 | [Mutex] isItemNotified: node_9rmtsq0204:subscribe_node:success :: true 2022-07-17 22:32:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-07-17 22:32:37 | command: <data><node>node_9rmtsq0204</node><expire-at>2022-07-18T05:32:42Z</expire-at><entry><content>content_2n5trb0208</content></entry></data> 2022-07-17 22:32:37 | target: http://localhost:8088 2022-07-17 22:32:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-07-17 22:32:37 | entity: <data><node>node_9rmtsq0204</node><expire-at>2022-07-18T05:32:42Z</expire-at><entry><content>content_2n5trb0208</content></entry></data> 2022-07-17 22:32:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 18 Jul 2022 05:32:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-07-17 22:32:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>673a3df6-4511-45b2-a0b7-191c8de7729c</value></item-id></result> 2022-07-17 22:32:37 | contains: true 2022-07-17 22:32:45 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-07-17 22:32:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-07-17 22:32:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-07-17 22:32:45 | [Mutex] waiting for: [user_regularxx6zfb0203@test-domain.com:message:received:content_2n5trb0208] 2022-07-17 22:32:45 | [Mutex] waiting for: [user_regularxx6zfb0203@test-domain.com:message:received:content_2n5trb0208] 2022-07-17 22:32:45 | [Mutex] waiting for: [user_regularxx6zfb0203@test-domain.com:message:received:content_2n5trb0208] 2022-07-17 22:33:00 | [Mutex] timeout. Not received [user_regularxx6zfb0203@test-domain.com:message:received:content_2n5trb0208] 2022-07-17 22:33:00 | [Mutex] received everything. 2022-07-17 22:33:00 | [Mutex] isItemNotified: user_regularxx6zfb0203@test-domain.com:message:received:content_2n5trb0208 :: false 2022-07-17 22:33:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2n5trb0208 :: true |