Test duration : 44.547s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.587s |
2022-08-14 22:33:18 |
2022-08-14 22:33:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-14 22:33:18 | ------------------------------------ 2022-08-14 22:33:18 | [Mutex] isItemNotified: node_qg8yko0204:exists :: false 2022-08-14 22:33:18 | [Mutex] waiting for: [node_qg8yko0204:create_node] 2022-08-14 22:33:18 | [Mutex] received everything. 2022-08-14 22:33:18 | [Mutex] isItemNotified: node_qg8yko0204:create_node:success :: true 2022-08-14 22:33:18 | [Mutex] waiting for: [node_qg8yko0204:subscribe_node] 2022-08-14 22:33:18 | [Mutex] waiting for: [node_qg8yko0204:subscribe_node] 2022-08-14 22:33:18 | [Mutex] received everything. 2022-08-14 22:33:18 | [Mutex] isItemNotified: node_qg8yko0204:subscribe_node:success :: true 2022-08-14 22:33:18 | ===== publishing normal message (to online) 2022-08-14 22:33:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-14 22:33:18 | command: <data><node>node_qg8yko0204</node><entry><content>content_iapyqh0205</content></entry></data> 2022-08-14 22:33:18 | target: http://localhost:8088 2022-08-14 22:33:18 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-14 22:33:18 | entity: <data><node>node_qg8yko0204</node><entry><content>content_iapyqh0205</content></entry></data> 2022-08-14 22:33:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Aug 2022 05:33:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-14 22:33:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>62723633-9b60-4b22-ac5e-22343433d06c</value></item-id></result> 2022-08-14 22:33:18 | contains: true 2022-08-14 22:33:18 | [Mutex] received everything. 2022-08-14 22:33:18 | [Mutex] isItemNotified: user_regulargx9pa60203@test-domain.com:message:received:content_iapyqh0205 :: true 2022-08-14 22:33:18 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-14 22:33:18 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-14 22:33:18 | command: <data><node>node_qg8yko0204</node><expire-at>2022-08-15T05:33:13Z</expire-at><entry><content>content_j15vz10206</content></entry></data> 2022-08-14 22:33:18 | target: http://localhost:8088 2022-08-14 22:33:18 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-14 22:33:18 | entity: <data><node>node_qg8yko0204</node><expire-at>2022-08-15T05:33:13Z</expire-at><entry><content>content_j15vz10206</content></entry></data> 2022-08-14 22:33:18 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Aug 2022 05:33:18 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-14 22:33:18 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>85edecd9-f41e-429c-b471-3c0e2c4dade1</value></item-id></result> 2022-08-14 22:33:18 | contains: true 2022-08-14 22:33:18 | [Mutex] waiting for: [user_regulargx9pa60203@test-domain.com:message:received:content_j15vz10206] 2022-08-14 22:33:33 | [Mutex] timeout. Not received [user_regulargx9pa60203@test-domain.com:message:received:content_j15vz10206] 2022-08-14 22:33:33 | [Mutex] isItemNotified: user_regulargx9pa60203@test-domain.com:message:received:content_j15vz10206 :: false 2022-08-14 22:33:33 | ===== publishing normal message (to offline) 2022-08-14 22:33:33 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-14 22:33:33 | command: <data><node>node_qg8yko0204</node><entry><content>content_mysblv0207</content></entry></data> 2022-08-14 22:33:33 | target: http://localhost:8088 2022-08-14 22:33:33 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-14 22:33:33 | entity: <data><node>node_qg8yko0204</node><entry><content>content_mysblv0207</content></entry></data> 2022-08-14 22:33:33 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Aug 2022 05:33:33 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-14 22:33:33 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>69a7aa10-60bb-4c84-9a2b-22d4dcc55238</value></item-id></result> 2022-08-14 22:33:33 | contains: true 2022-08-14 22:33:38 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-14 22:33:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-14 22:33:38 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-14 22:33:38 | [Mutex] waiting for: [user_regulargx9pa60203@test-domain.com:message:received:content_mysblv0207] 2022-08-14 22:33:38 | [Mutex] waiting for: [user_regulargx9pa60203@test-domain.com:message:received:content_mysblv0207] 2022-08-14 22:33:38 | [Mutex] received everything. 2022-08-14 22:33:38 | [Mutex] isItemNotified: user_regulargx9pa60203@test-domain.com:message:received:content_mysblv0207 :: true 2022-08-14 22:33:38 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-14 22:33:38 | [Mutex] received everything. 2022-08-14 22:33:38 | [Mutex] isItemNotified: node_qg8yko0204:subscribe_node:success :: true 2022-08-14 22:33:38 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-14 22:33:38 | command: <data><node>node_qg8yko0204</node><expire-at>2022-08-15T05:33:43Z</expire-at><entry><content>content_ureb7c0208</content></entry></data> 2022-08-14 22:33:38 | target: http://localhost:8088 2022-08-14 22:33:38 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-14 22:33:38 | entity: <data><node>node_qg8yko0204</node><expire-at>2022-08-15T05:33:43Z</expire-at><entry><content>content_ureb7c0208</content></entry></data> 2022-08-14 22:33:39 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 15 Aug 2022 05:33:39 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-14 22:33:39 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>83dd9815-a94a-4d07-aefb-66849e8b3698</value></item-id></result> 2022-08-14 22:33:39 | contains: true 2022-08-14 22:33:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-14 22:33:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-14 22:33:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-14 22:33:47 | [Mutex] waiting for: [user_regulargx9pa60203@test-domain.com:message:received:content_ureb7c0208] 2022-08-14 22:34:02 | [Mutex] timeout. Not received [user_regulargx9pa60203@test-domain.com:message:received:content_ureb7c0208] 2022-08-14 22:34:02 | [Mutex] received everything. 2022-08-14 22:34:02 | [Mutex] isItemNotified: user_regulargx9pa60203@test-domain.com:message:received:content_ureb7c0208 :: false 2022-08-14 22:34:02 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ureb7c0208 :: true |