Test duration : 44.676s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.615s |
2022-08-23 22:34:27 |
2022-08-23 22:34:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-08-23 22:34:27 | ------------------------------------ 2022-08-23 22:34:27 | [Mutex] isItemNotified: node_rec8td0204:exists :: false 2022-08-23 22:34:27 | [Mutex] waiting for: [node_rec8td0204:create_node] 2022-08-23 22:34:27 | [Mutex] waiting for: [node_rec8td0204:create_node] 2022-08-23 22:34:27 | [Mutex] received everything. 2022-08-23 22:34:27 | [Mutex] isItemNotified: node_rec8td0204:create_node:success :: true 2022-08-23 22:34:27 | [Mutex] waiting for: [node_rec8td0204:subscribe_node] 2022-08-23 22:34:27 | [Mutex] waiting for: [node_rec8td0204:subscribe_node] 2022-08-23 22:34:27 | [Mutex] received everything. 2022-08-23 22:34:27 | [Mutex] isItemNotified: node_rec8td0204:subscribe_node:success :: true 2022-08-23 22:34:27 | ===== publishing normal message (to online) 2022-08-23 22:34:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-23 22:34:27 | command: <data><node>node_rec8td0204</node><entry><content>content_zam8qa0205</content></entry></data> 2022-08-23 22:34:27 | target: http://localhost:8088 2022-08-23 22:34:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-23 22:34:27 | entity: <data><node>node_rec8td0204</node><entry><content>content_zam8qa0205</content></entry></data> 2022-08-23 22:34:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Aug 2022 05:34:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-23 22:34:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c42fd50c-c6ac-47fb-8e22-208045a48e7d</value></item-id></result> 2022-08-23 22:34:27 | contains: true 2022-08-23 22:34:27 | [Mutex] received everything. 2022-08-23 22:34:27 | [Mutex] isItemNotified: user_regularxhyfuy0203@test-domain.com:message:received:content_zam8qa0205 :: true 2022-08-23 22:34:27 | ===== publishing already old message - expecting message being filtered out (to online) 2022-08-23 22:34:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-23 22:34:27 | command: <data><node>node_rec8td0204</node><expire-at>2022-08-24T05:34:22Z</expire-at><entry><content>content_hgwb420206</content></entry></data> 2022-08-23 22:34:27 | target: http://localhost:8088 2022-08-23 22:34:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-23 22:34:27 | entity: <data><node>node_rec8td0204</node><expire-at>2022-08-24T05:34:22Z</expire-at><entry><content>content_hgwb420206</content></entry></data> 2022-08-23 22:34:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Aug 2022 05:34:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-23 22:34:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9c6ce11b-dbc3-457f-9da8-3863eafef125</value></item-id></result> 2022-08-23 22:34:27 | contains: true 2022-08-23 22:34:27 | [Mutex] waiting for: [user_regularxhyfuy0203@test-domain.com:message:received:content_hgwb420206] 2022-08-23 22:34:42 | [Mutex] timeout. Not received [user_regularxhyfuy0203@test-domain.com:message:received:content_hgwb420206] 2022-08-23 22:34:42 | [Mutex] isItemNotified: user_regularxhyfuy0203@test-domain.com:message:received:content_hgwb420206 :: false 2022-08-23 22:34:42 | ===== publishing normal message (to offline) 2022-08-23 22:34:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-23 22:34:42 | command: <data><node>node_rec8td0204</node><entry><content>content_ojm09c0207</content></entry></data> 2022-08-23 22:34:42 | target: http://localhost:8088 2022-08-23 22:34:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-08-23 22:34:42 | entity: <data><node>node_rec8td0204</node><entry><content>content_ojm09c0207</content></entry></data> 2022-08-23 22:34:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Aug 2022 05:34:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-23 22:34:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>01de8d13-5098-451a-94d9-35fe65a75838</value></item-id></result> 2022-08-23 22:34:42 | contains: true 2022-08-23 22:34:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-23 22:34:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222 2022-08-23 22:34:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-23 22:34:47 | [Mutex] waiting for: [user_regularxhyfuy0203@test-domain.com:message:received:content_ojm09c0207] 2022-08-23 22:34:47 | [Mutex] received everything. 2022-08-23 22:34:47 | [Mutex] isItemNotified: user_regularxhyfuy0203@test-domain.com:message:received:content_ojm09c0207 :: true 2022-08-23 22:34:47 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-08-23 22:34:47 | [Mutex] received everything. 2022-08-23 22:34:47 | [Mutex] isItemNotified: node_rec8td0204:subscribe_node:success :: true 2022-08-23 22:34:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-08-23 22:34:47 | command: <data><node>node_rec8td0204</node><expire-at>2022-08-24T05:34:52Z</expire-at><entry><content>content_pq3uzk0208</content></entry></data> 2022-08-23 22:34:47 | target: http://localhost:8088 2022-08-23 22:34:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-08-23 22:34:47 | entity: <data><node>node_rec8td0204</node><expire-at>2022-08-24T05:34:52Z</expire-at><entry><content>content_pq3uzk0208</content></entry></data> 2022-08-23 22:34:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 24 Aug 2022 05:34:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-08-23 22:34:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>621116fc-2d04-4dad-b0b3-fec7ed1569c2</value></item-id></result> 2022-08-23 22:34:47 | contains: true 2022-08-23 22:34:55 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-08-23 22:34:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222 2022-08-23 22:34:55 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-08-23 22:34:56 | [Mutex] waiting for: [user_regularxhyfuy0203@test-domain.com:message:received:content_pq3uzk0208] 2022-08-23 22:34:56 | [Mutex] waiting for: [user_regularxhyfuy0203@test-domain.com:message:received:content_pq3uzk0208] 2022-08-23 22:34:56 | [Mutex] waiting for: [user_regularxhyfuy0203@test-domain.com:message:received:content_pq3uzk0208] 2022-08-23 22:35:11 | [Mutex] timeout. Not received [user_regularxhyfuy0203@test-domain.com:message:received:content_pq3uzk0208] 2022-08-23 22:35:11 | [Mutex] received everything. 2022-08-23 22:35:11 | [Mutex] isItemNotified: user_regularxhyfuy0203@test-domain.com:message:received:content_pq3uzk0208 :: false 2022-08-23 22:35:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_pq3uzk0208 :: true |