Test duration : 44.966s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.585s |
2022-09-15 23:07:33 |
2022-09-15 23:07:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-09-15 23:07:33 | ------------------------------------ 2022-09-15 23:07:33 | [Mutex] isItemNotified: node_yqrvwb0204:exists :: false 2022-09-15 23:07:33 | [Mutex] waiting for: [node_yqrvwb0204:create_node] 2022-09-15 23:07:33 | [Mutex] received everything. 2022-09-15 23:07:33 | [Mutex] isItemNotified: node_yqrvwb0204:create_node:success :: true 2022-09-15 23:07:33 | [Mutex] waiting for: [node_yqrvwb0204:subscribe_node] 2022-09-15 23:07:33 | [Mutex] received everything. 2022-09-15 23:07:33 | [Mutex] isItemNotified: node_yqrvwb0204:subscribe_node:success :: true 2022-09-15 23:07:33 | ===== publishing normal message (to online) 2022-09-15 23:07:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-15 23:07:33 | command: <data><node>node_yqrvwb0204</node><entry><content>content_tue0e10205</content></entry></data> 2022-09-15 23:07:33 | target: http://localhost:8088 2022-09-15 23:07:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-15 23:07:33 | entity: <data><node>node_yqrvwb0204</node><entry><content>content_tue0e10205</content></entry></data> 2022-09-15 23:07:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Sep 2022 06:07:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-15 23:07:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>53b82fa7-1616-4ac4-bcba-2517ad248589</value></item-id></result> 2022-09-15 23:07:33 | contains: true 2022-09-15 23:07:33 | [Mutex] received everything. 2022-09-15 23:07:33 | [Mutex] isItemNotified: user_regularrzfhu40203@test-domain.com:message:received:content_tue0e10205 :: true 2022-09-15 23:07:33 | ===== publishing already old message - expecting message being filtered out (to online) 2022-09-15 23:07:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-15 23:07:33 | command: <data><node>node_yqrvwb0204</node><expire-at>2022-09-16T06:07:28Z</expire-at><entry><content>content_q3xit10206</content></entry></data> 2022-09-15 23:07:33 | target: http://localhost:8088 2022-09-15 23:07:33 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-15 23:07:33 | entity: <data><node>node_yqrvwb0204</node><expire-at>2022-09-16T06:07:28Z</expire-at><entry><content>content_q3xit10206</content></entry></data> 2022-09-15 23:07:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Sep 2022 06:07:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-15 23:07:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f105fccb-ad2d-46ab-a99d-d2dbcf925dac</value></item-id></result> 2022-09-15 23:07:33 | contains: true 2022-09-15 23:07:33 | [Mutex] waiting for: [user_regularrzfhu40203@test-domain.com:message:received:content_q3xit10206] 2022-09-15 23:07:48 | [Mutex] timeout. Not received [user_regularrzfhu40203@test-domain.com:message:received:content_q3xit10206] 2022-09-15 23:07:48 | [Mutex] isItemNotified: user_regularrzfhu40203@test-domain.com:message:received:content_q3xit10206 :: false 2022-09-15 23:07:48 | ===== publishing normal message (to offline) 2022-09-15 23:07:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-15 23:07:48 | command: <data><node>node_yqrvwb0204</node><entry><content>content_d8r7130207</content></entry></data> 2022-09-15 23:07:48 | target: http://localhost:8088 2022-09-15 23:07:48 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-09-15 23:07:48 | entity: <data><node>node_yqrvwb0204</node><entry><content>content_d8r7130207</content></entry></data> 2022-09-15 23:07:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Sep 2022 06:07:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-15 23:07:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7909c6e6-1436-405a-84df-eaccd6e3495e</value></item-id></result> 2022-09-15 23:07:48 | contains: true 2022-09-15 23:07:53 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-15 23:07:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-09-15 23:07:53 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-15 23:07:53 | [Mutex] waiting for: [user_regularrzfhu40203@test-domain.com:message:received:content_d8r7130207] 2022-09-15 23:07:53 | [Mutex] received everything. 2022-09-15 23:07:53 | [Mutex] isItemNotified: user_regularrzfhu40203@test-domain.com:message:received:content_d8r7130207 :: true 2022-09-15 23:07:53 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-09-15 23:07:53 | [Mutex] received everything. 2022-09-15 23:07:53 | [Mutex] isItemNotified: node_yqrvwb0204:subscribe_node:success :: true 2022-09-15 23:07:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-09-15 23:07:53 | command: <data><node>node_yqrvwb0204</node><expire-at>2022-09-16T06:07:58Z</expire-at><entry><content>content_qvhcro0208</content></entry></data> 2022-09-15 23:07:53 | target: http://localhost:8088 2022-09-15 23:07:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-09-15 23:07:53 | entity: <data><node>node_yqrvwb0204</node><expire-at>2022-09-16T06:07:58Z</expire-at><entry><content>content_qvhcro0208</content></entry></data> 2022-09-15 23:07:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 16 Sep 2022 06:07:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-09-15 23:07:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>12be3a79-723c-4d20-a111-f7c899b5e031</value></item-id></result> 2022-09-15 23:07:53 | contains: true 2022-09-15 23:08:01 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-09-15 23:08:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-09-15 23:08:01 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-09-15 23:08:01 | [Mutex] waiting for: [user_regularrzfhu40203@test-domain.com:message:received:content_qvhcro0208] 2022-09-15 23:08:01 | [Mutex] waiting for: [user_regularrzfhu40203@test-domain.com:message:received:content_qvhcro0208] 2022-09-15 23:08:01 | [Mutex] waiting for: [user_regularrzfhu40203@test-domain.com:message:received:content_qvhcro0208] 2022-09-15 23:08:16 | [Mutex] timeout. Not received [user_regularrzfhu40203@test-domain.com:message:received:content_qvhcro0208] 2022-09-15 23:08:16 | [Mutex] received everything. 2022-09-15 23:08:16 | [Mutex] isItemNotified: user_regularrzfhu40203@test-domain.com:message:received:content_qvhcro0208 :: false 2022-09-15 23:08:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_qvhcro0208 :: true |