Test duration : 44.639s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.728s |
2022-08-11 22:34:30 |
2022-08-11 22:34:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-11 22:34:30 | ------------------------------------ 2022-08-11 22:34:30 | [Mutex] isItemNotified: node_oraivm0204:exists :: false 2022-08-11 22:34:30 | [Mutex] waiting for: [node_oraivm0204:create_node] 2022-08-11 22:34:30 | [Mutex] received everything. 2022-08-11 22:34:30 | [Mutex] isItemNotified: node_oraivm0204:create_node:success :: true 2022-08-11 22:34:30 | [Mutex] waiting for: [node_oraivm0204:subscribe_node] 2022-08-11 22:34:30 | [Mutex] waiting for: [node_oraivm0204:subscribe_node] 2022-08-11 22:34:30 | [Mutex] received everything. 2022-08-11 22:34:30 | [Mutex] isItemNotified: node_oraivm0204:subscribe_node:success :: true 2022-08-11 22:34:30 | ===== publishing normal message (to online) 2022-08-11 22:34:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-11 22:34:30 | command: <data><node>node_oraivm0204</node><entry><content>content_knhirt0205</content></entry></data> 2022-08-11 22:34:30 | target: http://localhost:8088 2022-08-11 22:34:30 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-11 22:34:30 | entity: <data><node>node_oraivm0204</node><entry><content>content_knhirt0205</content></entry></data> 2022-08-11 22:34:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 12 Aug 2022 05:34:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-11 22:34:30 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a6f58220-3f24-45b3-bb62-c4f7db37f75f</value></item-id></result> 2022-08-11 22:34:30 | contains: true 2022-08-11 22:34:30 | [Mutex] waiting for: [user_regular6q9l6u0203@test-domain.com:message:received:content_knhirt0205] 2022-08-11 22:34:30 | [Mutex] received everything. 2022-08-11 22:34:30 | [Mutex] isItemNotified: user_regular6q9l6u0203@test-domain.com:message:received:content_knhirt0205 :: true 2022-08-11 22:34:30 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-11 22:34:30 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-11 22:34:30 | command: <data><node>node_oraivm0204</node><expire-at>2022-08-12T05:34:25Z</expire-at><entry><content>content_l46y7u0206</content></entry></data> 2022-08-11 22:34:30 | target: http://localhost:8088 2022-08-11 22:34:30 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-11 22:34:30 | entity: <data><node>node_oraivm0204</node><expire-at>2022-08-12T05:34:25Z</expire-at><entry><content>content_l46y7u0206</content></entry></data> 2022-08-11 22:34:30 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 12 Aug 2022 05:34:30 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-11 22:34:31 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2a26481b-b6f2-4645-b91d-2dd01fc67b28</value></item-id></result> 2022-08-11 22:34:31 | contains: true 2022-08-11 22:34:31 | [Mutex] waiting for: [user_regular6q9l6u0203@test-domain.com:message:received:content_l46y7u0206] 2022-08-11 22:34:46 | [Mutex] timeout. Not received [user_regular6q9l6u0203@test-domain.com:message:received:content_l46y7u0206] 2022-08-11 22:34:46 | [Mutex] isItemNotified: user_regular6q9l6u0203@test-domain.com:message:received:content_l46y7u0206 :: false 2022-08-11 22:34:46 | ===== publishing normal message (to offline) 2022-08-11 22:34:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-11 22:34:46 | command: <data><node>node_oraivm0204</node><entry><content>content_d6khzk0207</content></entry></data> 2022-08-11 22:34:46 | target: http://localhost:8088 2022-08-11 22:34:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-11 22:34:46 | entity: <data><node>node_oraivm0204</node><entry><content>content_d6khzk0207</content></entry></data> 2022-08-11 22:34:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 12 Aug 2022 05:34:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-11 22:34:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>71e21b77-0313-49ab-9b91-9cffbd47794e</value></item-id></result> 2022-08-11 22:34:46 | contains: true 2022-08-11 22:34:51 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-11 22:34:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-11 22:34:51 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-11 22:34:51 | [Mutex] waiting for: [user_regular6q9l6u0203@test-domain.com:message:received:content_d6khzk0207] 2022-08-11 22:34:51 | [Mutex] received everything. 2022-08-11 22:34:51 | [Mutex] isItemNotified: user_regular6q9l6u0203@test-domain.com:message:received:content_d6khzk0207 :: true 2022-08-11 22:34:51 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-11 22:34:51 | [Mutex] received everything. 2022-08-11 22:34:51 | [Mutex] isItemNotified: node_oraivm0204:subscribe_node:success :: true 2022-08-11 22:34:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-11 22:34:51 | command: <data><node>node_oraivm0204</node><expire-at>2022-08-12T05:34:56Z</expire-at><entry><content>content_4au6d40208</content></entry></data> 2022-08-11 22:34:51 | target: http://localhost:8088 2022-08-11 22:34:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-11 22:34:51 | entity: <data><node>node_oraivm0204</node><expire-at>2022-08-12T05:34:56Z</expire-at><entry><content>content_4au6d40208</content></entry></data> 2022-08-11 22:34:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 12 Aug 2022 05:34:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-11 22:34:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>404098da-d037-4b5d-a491-b1d05a387a32</value></item-id></result> 2022-08-11 22:34:51 | contains: true 2022-08-11 22:34:59 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-11 22:34:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-11 22:34:59 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-11 22:34:59 | [Mutex] waiting for: [user_regular6q9l6u0203@test-domain.com:message:received:content_4au6d40208] 2022-08-11 22:34:59 | [Mutex] waiting for: [user_regular6q9l6u0203@test-domain.com:message:received:content_4au6d40208] 2022-08-11 22:35:14 | [Mutex] timeout. Not received [user_regular6q9l6u0203@test-domain.com:message:received:content_4au6d40208] 2022-08-11 22:35:14 | [Mutex] received everything. 2022-08-11 22:35:14 | [Mutex] isItemNotified: user_regular6q9l6u0203@test-domain.com:message:received:content_4au6d40208 :: false 2022-08-11 22:35:14 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_4au6d40208 :: true |