Test duration : 45.053s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiWithMessageExpiration | ||
testMessageExpiration | 43.517s |
2022-04-14 22:35:27 |
2022-04-14 22:35:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration] 2022-04-14 22:35:27 | ------------------------------------ 2022-04-14 22:35:27 | [Mutex] isItemNotified: node_limtlc0203:exists :: false 2022-04-14 22:35:27 | [Mutex] waiting for: [node_limtlc0203:create_node] 2022-04-14 22:35:27 | [Mutex] received everything. 2022-04-14 22:35:27 | [Mutex] isItemNotified: node_limtlc0203:create_node:success :: true 2022-04-14 22:35:27 | [Mutex] waiting for: [node_limtlc0203:subscribe_node] 2022-04-14 22:35:27 | [Mutex] waiting for: [node_limtlc0203:subscribe_node] 2022-04-14 22:35:27 | [Mutex] received everything. 2022-04-14 22:35:27 | [Mutex] isItemNotified: node_limtlc0203:subscribe_node:success :: true 2022-04-14 22:35:27 | ===== publishing normal message (to online) 2022-04-14 22:35:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-04-14 22:35:27 | command: <data><node>node_limtlc0203</node><entry><content>content_tgn9ja0204</content></entry></data> 2022-04-14 22:35:27 | target: http://localhost:8088 2022-04-14 22:35:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-04-14 22:35:27 | entity: <data><node>node_limtlc0203</node><entry><content>content_tgn9ja0204</content></entry></data> 2022-04-14 22:35:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Apr 2022 05:35:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-04-14 22:35:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>92749b77-837b-40e4-aaa1-f82351d75e05</value></item-id></result> 2022-04-14 22:35:27 | contains: true 2022-04-14 22:35:27 | [Mutex] waiting for: [user_regularwk2cjy0202@test-domain.com:message:received:content_tgn9ja0204] 2022-04-14 22:35:27 | [Mutex] received everything. 2022-04-14 22:35:27 | [Mutex] isItemNotified: user_regularwk2cjy0202@test-domain.com:message:received:content_tgn9ja0204 :: true 2022-04-14 22:35:27 | ===== publishing already old message - expecting message being filtered out (to online) 2022-04-14 22:35:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-04-14 22:35:27 | command: <data><node>node_limtlc0203</node><expire-at>2022-04-15T05:35:22Z</expire-at><entry><content>content_j24mng0205</content></entry></data> 2022-04-14 22:35:27 | target: http://localhost:8088 2022-04-14 22:35:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-04-14 22:35:27 | entity: <data><node>node_limtlc0203</node><expire-at>2022-04-15T05:35:22Z</expire-at><entry><content>content_j24mng0205</content></entry></data> 2022-04-14 22:35:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Apr 2022 05:35:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-04-14 22:35:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a80052bb-9fe7-4122-ae4a-0116b90fdd7f</value></item-id></result> 2022-04-14 22:35:27 | contains: true 2022-04-14 22:35:27 | [Mutex] waiting for: [user_regularwk2cjy0202@test-domain.com:message:received:content_j24mng0205] 2022-04-14 22:35:42 | [Mutex] timeout. Not received [user_regularwk2cjy0202@test-domain.com:message:received:content_j24mng0205] 2022-04-14 22:35:42 | [Mutex] isItemNotified: user_regularwk2cjy0202@test-domain.com:message:received:content_j24mng0205 :: false 2022-04-14 22:35:42 | ===== publishing normal message (to offline) 2022-04-14 22:35:42 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-04-14 22:35:42 | command: <data><node>node_limtlc0203</node><entry><content>content_d4dmkn0206</content></entry></data> 2022-04-14 22:35:42 | target: http://localhost:8088 2022-04-14 22:35:42 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false] 2022-04-14 22:35:42 | entity: <data><node>node_limtlc0203</node><entry><content>content_d4dmkn0206</content></entry></data> 2022-04-14 22:35:42 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Apr 2022 05:35:42 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-04-14 22:35:42 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5683dcd6-07ec-408f-884b-fd18d34ad9af</value></item-id></result> 2022-04-14 22:35:42 | contains: true 2022-04-14 22:35:47 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-04-14 22:35:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] DNS entry stored in session object: localhost:5222 2022-04-14 22:35:47 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=476 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-04-14 22:35:48 | [Mutex] waiting for: [user_regularwk2cjy0202@test-domain.com:message:received:content_d4dmkn0206] 2022-04-14 22:35:48 | [Mutex] waiting for: [user_regularwk2cjy0202@test-domain.com:message:received:content_d4dmkn0206] 2022-04-14 22:35:48 | [Mutex] received everything. 2022-04-14 22:35:48 | [Mutex] isItemNotified: user_regularwk2cjy0202@test-domain.com:message:received:content_d4dmkn0206 :: true 2022-04-14 22:35:48 | ===== publishing already old message - expecting message being filtered out (to offline) 2022-04-14 22:35:48 | [Mutex] received everything. 2022-04-14 22:35:48 | [Mutex] isItemNotified: node_limtlc0203:subscribe_node:success :: true 2022-04-14 22:35:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1 2022-04-14 22:35:48 | command: <data><node>node_limtlc0203</node><expire-at>2022-04-15T05:35:53Z</expire-at><entry><content>content_3xwz8x0207</content></entry></data> 2022-04-14 22:35:48 | target: http://localhost:8088 2022-04-14 22:35:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false] 2022-04-14 22:35:48 | entity: <data><node>node_limtlc0203</node><expire-at>2022-04-15T05:35:53Z</expire-at><entry><content>content_3xwz8x0207</content></entry></data> 2022-04-14 22:35:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 15 Apr 2022 05:35:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}} 2022-04-14 22:35:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9577b0fd-c962-4981-aa27-de029d9ce318</value></item-id></result> 2022-04-14 22:35:48 | contains: true 2022-04-14 22:35:56 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector 2022-04-14 22:35:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=477 thread=1] DNS entry stored in session object: localhost:5222 2022-04-14 22:35:56 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=477 thread=1] Opening connection to localhost/127.0.0.1:5222 2022-04-14 22:35:56 | [Mutex] waiting for: [user_regularwk2cjy0202@test-domain.com:message:received:content_3xwz8x0207] 2022-04-14 22:36:11 | [Mutex] timeout. Not received [user_regularwk2cjy0202@test-domain.com:message:received:content_3xwz8x0207] 2022-04-14 22:36:11 | [Mutex] received everything. 2022-04-14 22:36:11 | [Mutex] isItemNotified: user_regularwk2cjy0202@test-domain.com:message:received:content_3xwz8x0207 :: false 2022-04-14 22:36:11 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_3xwz8x0207 :: true |