Please have a look at this my question on SOF http://stackoverflow.com/questions/24797246/create-a-scala-function-to-define-gatling-http-request-chains
I have imported import io.gatling.core.structure and changed function to HashMap[String, String] param but still it throws
\lib\AssetDetail.scala:44: not found: type ChainBuilder 13:37:11.476 [ERROR] i.g.a.ZincCompiler$ - def generateWebRequest(requestName:String, sort:String, qu eryParamMap:HashMap[String, String]):ChainBuilder = { 13:37:11.478 [ERROR] i.g.a.ZincCompiler$ - ^ 13:37:11.486 [ERROR] i.g.a.ZincCompiler$ - C:\Users\Vertis\Desktop\gatling\user-files\simulations\delph i_ui\lib\AssetDetail.scala:44: not found: type HashMap