Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: Fuji
-
Fix Version/s: Fuji
-
Component/s: Budget Estimate Service
-
Labels:None
-
Environment:
QA Environment 7
bidmgr :228
Core: 198
-
Sprint:Sprint 6
Description
One of the request gets failed for BES having sameKeywordList with MultipleBLs
Steps:
1. Send BES SOAP request having mutliple BA-BLs
(PFA Soap xml - BES_YJ_MultipleBABLs-1)
2. Observe the response, first request failed.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns2:getBudgetEstimatesResponse xmlns:ns2="http://thesearchagency.com/smb/core/">
<budgetEstimateResultList>
<result>
<resultCode>failure</resultCode>
</result>
<budgetEstimateCriteria>
<distributionID>178</distributionID>
<keywordListID>2310</keywordListID>
<businessLocationID>200003</businessLocationID>
<currencyCode>JPY</currencyCode>
<languageCode>ja</languageCode>
</budgetEstimateCriteria>
</budgetEstimateResultList>
<budgetEstimateResultList>
<result>
<resultCode>success</resultCode>
</result>
<budgetEstimateCriteria>
<distributionID>178</distributionID>
<keywordListID>2310</keywordListID>
<businessLocationID>200002</businessLocationID>
<currencyCode>JPY</currencyCode>
<languageCode>ja</languageCode>
</budgetEstimateCriteria>
<budgetEstimate>
<origin>search_engine</origin>
<lastUpdateTime>2014-08-26T07:38:48.833Z</lastUpdateTime>
<minimumPrice>9670.538</minimumPrice>
<maximumPrice>313963.4</maximumPrice>
<minimumClicks>3.0</minimumClicks>
<maximumClicks>97.398</maximumClicks>
</budgetEstimate>
</budgetEstimateResultList>
</ns2:getBudgetEstimatesResponse>
</soap:Body>
</soap:Envelope>
and see the attached JBoss log. (BES_YJ_MultipleBABL_JbossLog)
3.Now remove the second "budgetEstimateCriteriaList" from BES request and send SOAP request.
(PFA Soap xml - BES_YJ_MultipleBABLs-2)
We are able to get estimates :-
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns2:getBudgetEstimatesResponse xmlns:ns2="http://thesearchagency.com/smb/core/">
<budgetEstimateResultList>
<result>
<resultCode>success</resultCode>
</result>
<budgetEstimateCriteria>
<distributionID>178</distributionID>
<keywordListID>2310</keywordListID>
<businessLocationID>200003</businessLocationID>
<currencyCode>JPY</currencyCode>
<languageCode>ja</languageCode>
</budgetEstimateCriteria>
<budgetEstimate>
<origin>search_engine</origin>
<lastUpdateTime>2014-08-26T07:50:40.002Z</lastUpdateTime>
<minimumPrice>6411.827</minimumPrice>
<maximumPrice>6411.827</maximumPrice>
<minimumClicks>1.217</minimumClicks>
<maximumClicks>1.217</maximumClicks>
</budgetEstimate>
</budgetEstimateResultList>
</ns2:getBudgetEstimatesResponse>
</soap:Body>
</soap:Envelope>
Expected Result:
BES for multiple BABLs should get estimates correctly.