Test duration : 44.836s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.648s |
2022-12-18 21:47:28 |
2022-12-18 21:47:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-12-18 21:47:28 | ------------------------------------ 2022-12-18 21:47:28 | [Mutex] isItemNotified: node_yawxiz0204:exists :: false 2022-12-18 21:47:28 | [Mutex] waiting for: [node_yawxiz0204:create_node] 2022-12-18 21:47:28 | [Mutex] received everything. 2022-12-18 21:47:28 | [Mutex] isItemNotified: node_yawxiz0204:create_node:success :: true 2022-12-18 21:47:28 | [Mutex] waiting for: [node_yawxiz0204:subscribe_node] 2022-12-18 21:47:28 | [Mutex] received everything. 2022-12-18 21:47:28 | [Mutex] isItemNotified: node_yawxiz0204:subscribe_node:success :: true 2022-12-18 21:47:28 | ===== publishing normal message (to online) 2022-12-18 21:47:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-18 21:47:28 | command: <data><node>node_yawxiz0204</node><entry><content>content_6cfgk00205</content></entry></data> 2022-12-18 21:47:28 | target: http://localhost:8088 2022-12-18 21:47:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-18 21:47:28 | entity: <data><node>node_yawxiz0204</node><entry><content>content_6cfgk00205</content></entry></data> 2022-12-18 21:47:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Dec 2022 05:47:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-18 21:47:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>12106dae-c164-4da2-9129-458bf3b0311a</value></item-id></result> 2022-12-18 21:47:28 | contains: true 2022-12-18 21:47:28 | [Mutex] received everything. 2022-12-18 21:47:28 | [Mutex] isItemNotified: user_regularzfc0ts0203@test-domain.com:message:received:content_6cfgk00205 :: true 2022-12-18 21:47:28 | ===== publishing already old message - expecting message being filtered out (to online) 2022-12-18 21:47:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-18 21:47:28 | command: <data><node>node_yawxiz0204</node><expire-at>2022-12-19T05:47:23Z</expire-at><entry><content>content_fu5lgd0206</content></entry></data> 2022-12-18 21:47:28 | target: http://localhost:8088 2022-12-18 21:47:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-18 21:47:28 | entity: <data><node>node_yawxiz0204</node><expire-at>2022-12-19T05:47:23Z</expire-at><entry><content>content_fu5lgd0206</content></entry></data> 2022-12-18 21:47:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Dec 2022 05:47:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-18 21:47:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>76e7f96d-fb44-4026-9964-5e185d585026</value></item-id></result> 2022-12-18 21:47:28 | contains: true 2022-12-18 21:47:28 | [Mutex] waiting for: [user_regularzfc0ts0203@test-domain.com:message:received:content_fu5lgd0206] 2022-12-18 21:47:43 | [Mutex] timeout. Not received [user_regularzfc0ts0203@test-domain.com:message:received:content_fu5lgd0206] 2022-12-18 21:47:43 | [Mutex] isItemNotified: user_regularzfc0ts0203@test-domain.com:message:received:content_fu5lgd0206 :: false 2022-12-18 21:47:43 | ===== publishing normal message (to offline) 2022-12-18 21:47:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-18 21:47:43 | command: <data><node>node_yawxiz0204</node><entry><content>content_l66s1d0207</content></entry></data> 2022-12-18 21:47:43 | target: http://localhost:8088 2022-12-18 21:47:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-12-18 21:47:43 | entity: <data><node>node_yawxiz0204</node><entry><content>content_l66s1d0207</content></entry></data> 2022-12-18 21:47:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Dec 2022 05:47:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-18 21:47:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bafe3a07-c47f-4086-9844-f4777081ada4</value></item-id></result> 2022-12-18 21:47:43 | contains: true 2022-12-18 21:47:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-18 21:47:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-12-18 21:47:48 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-18 21:47:48 | [Mutex] waiting for: [user_regularzfc0ts0203@test-domain.com:message:received:content_l66s1d0207] 2022-12-18 21:47:48 | [Mutex] waiting for: [user_regularzfc0ts0203@test-domain.com:message:received:content_l66s1d0207] 2022-12-18 21:47:48 | [Mutex] received everything. 2022-12-18 21:47:48 | [Mutex] isItemNotified: user_regularzfc0ts0203@test-domain.com:message:received:content_l66s1d0207 :: true 2022-12-18 21:47:48 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-12-18 21:47:48 | [Mutex] received everything. 2022-12-18 21:47:48 | [Mutex] isItemNotified: node_yawxiz0204:subscribe_node:success :: true 2022-12-18 21:47:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-12-18 21:47:48 | command: <data><node>node_yawxiz0204</node><expire-at>2022-12-19T05:47:53Z</expire-at><entry><content>content_ie6h650208</content></entry></data> 2022-12-18 21:47:48 | target: http://localhost:8088 2022-12-18 21:47:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-12-18 21:47:48 | entity: <data><node>node_yawxiz0204</node><expire-at>2022-12-19T05:47:53Z</expire-at><entry><content>content_ie6h650208</content></entry></data> 2022-12-18 21:47:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 19 Dec 2022 05:47:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-12-18 21:47:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fb126482-d43f-4897-b7b4-fbba47f4f182</value></item-id></result> 2022-12-18 21:47:48 | contains: true 2022-12-18 21:47:56 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-12-18 21:47:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-12-18 21:47:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-12-18 21:47:56 | [Mutex] waiting for: [user_regularzfc0ts0203@test-domain.com:message:received:content_ie6h650208] 2022-12-18 21:48:11 | [Mutex] timeout. Not received [user_regularzfc0ts0203@test-domain.com:message:received:content_ie6h650208] 2022-12-18 21:48:11 | [Mutex] received everything. 2022-12-18 21:48:11 | [Mutex] isItemNotified: user_regularzfc0ts0203@test-domain.com:message:received:content_ie6h650208 :: false 2022-12-18 21:48:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ie6h650208 :: true |